Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds ability to audit bolt files #89

Merged
merged 3 commits into from
Apr 10, 2020
Merged

Adds ability to audit bolt files #89

merged 3 commits into from
Apr 10, 2020

Conversation

logicminds
Copy link
Contributor

These changes adds the ability to watch bolt copy files to the target and make a backup of all the files before bolt deletes them. This can be really helpful when trying to audit bolt's actions or for debugging purposes. By default the watch script is started via systemd and is pre-programmed to watch /root/bolt_scripts and make a backup to /tmp/backup.

  * When using the example docker containers you will
    have the ability to see what files are copied over to the
    system for inspection.
  * previously the example docker files used a static
    directory for bolt scripts.  This removes the script-dir
    so bolt will create a unique one each time.
  * Also adds the live_audit script to systemd.
    This will cause systemd to startup the audit on boot
    so all bolt files will be copied over to /tmp/backup
    for investigation.
@reidmv reidmv merged commit a0c166c into puppetlabs:master Apr 10, 2020
@logicminds logicminds deleted the audit branch April 10, 2020 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants