mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
20d0a9dc0d
* Adds cli options to enable audit log and configure the audit log Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updated code to validate the audit log options. Audit log options are only valid for inspec exec and inspec shell command as those commands use the backend to execute commands and for file operations Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updates cli options documentation for audit log options Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Disable audit log in test environment unless and until explicitly --enable-audit-log option is provided in test Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Rename enable-audit-log cli option to disable-audit-log Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * CHEF-8210 Enables feature preview flag for audit logging Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Revert "Disable audit log in test environment unless and until explicitly --enable-audit-log option is provided in test" This reverts commit 50a42f0b44cf2fde6d927a00e444370cdd288a5d. * Adds functional test for audit logging feature Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updates cli doc for audit loggin feature flag Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Debug why audit log functional test fails in ci environment Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Revert "Rename enable-audit-log cli option to disable-audit-log" This reverts commitd5169ec705
. * Revert "Debug why audit log functional test fails in ci environment" This reverts commit6f43898ad0
. * Removes the --enable-audit-log option from cli as feature flag will handle the enabling and disabling of audit log feature. And introduces few code changes after reverting renaming of --enable-audit-log option Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updates the functional test for audit log Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * REVERT THIS ONCE THE TEST IS GREEN: This is just to test implementation of audit log against the train changes made for audit log Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Removes the right one Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Documentation for inspec audit logging feature Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Renames inspec audit log file Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Edits to audit log docs Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> * Remove --audit-log-rotation and --audit-log-size option to set from CLI Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Make sure we delete audit log file before running each test Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Appends timestamp and process id to generate audit log file per invocation/execution Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updates functional test for audit logging feature Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Fix typo in audit logging docs Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Appends the timestamp and process id to user provided audit log file so that unique audit log file created per invocation Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Updates the audit log functional test Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Minor code improvements Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Adds exception class for invalid audit log options Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Revert "REVERT THIS ONCE THE TEST IS GREEN: This is just to test implementation of audit log against the train changes made for audit log" This reverts commita66137e70b
. * Upgrade train-core version pinning Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Docs review Signed-off-by: Ian Maddaus <ian.maddaus@progress.com> * Fix titles Signed-off-by: Ian Maddaus <ian.maddaus@progress.com> * Update the signature for features.yaml file Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> --------- Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> Signed-off-by: Ian Maddaus <ian.maddaus@progress.com> Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com> Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
6 lines
350 B
Standard ML
6 lines
350 B
Standard ML
LoJePRrMIqFz6d1uu5n3QBqQAPD8wLuLM8PfvdDerFjuX/TFJDFdwdcNZ8b8
|
|
KBxFjR5qUTMZizjIUp5Jd6FFI4gSm0RIMKa4UeJCQQAWKJGo/tIbSKLPLWlV
|
|
m1X1Z869AkvQSJxyaXvS2oKPck/znCbRKEDhuk2kqSyDJlC2BILTVa0sx3nd
|
|
4W2J2CwFBlqmYWI1FARkZCMGlfzkjcUqrVrCb3RcZ7bcEYOT5ebIm9zZlbuV
|
|
n2Di29KFZhl8paEoGq3EYJvxEC7rVtLccei8UteNQcSOWihG61dtPGhHnpS+
|
|
/7RNGjrS8s4i/dQHjZlZgV6guki6EqB+DIirVek9PQ==
|