DLPX-87293 Add AIDE to appliance #460
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
For general security hardening, and to comply with the ubuntu CIS benchmark, we should use AIDE (an open source Tripwire alternative) to monitor and report filesystem integrity violations.
Solution
Add the Debian/Ubuntu specific packages
aide
andaide-common
. The former provides the basicaide
utility, while the latter provides wrappers to use AIDE with sensible defaults as well as a curated list of AIDE rules for Debian/Ubuntu.Notes:
aide
is required byaide-common
, but we listaide
explicitly as a dependency to make it clear that this is a full AIDE installationaide
takes about 20 minutes to run a full filesystem scan, but installing it won't automatically initialize or run it, so this has no performance impact. Configuring AIDE runs will be left for future tasks.Testing Done
Running appliance build that will have AIDE installed: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/6558/
Commit 2
:git ab-pre-push
: http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/delphix-platform/job/appliance-build-orchestrator/job/pre-push/391/ ✅