mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Rename enable-audit-log cli option to disable-audit-log
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
This commit is contained in:
parent
5be4096bb3
commit
d5169ec705
3 changed files with 9 additions and 9 deletions
|
@ -556,9 +556,9 @@ This subcommand has the following additional options:
|
|||
`--audit-log-location=AUDIT_LOG_LOCATION`
|
||||
: Audit log location to send diagnostic log messages to (default: '~/.inspec/logs/train-audit.log').
|
||||
|
||||
`--enable-audit-log`
|
||||
`--no-enable-audit-log`
|
||||
: Enable audit logging. (default: true)
|
||||
`--disable-audit-log`
|
||||
`--no-disable-audit-log`
|
||||
: Disable audit logging. (default: false)
|
||||
|
||||
`--audit-log-size=N`
|
||||
: Set audit log file size in bytes.(default: 2097152)
|
||||
|
@ -867,9 +867,9 @@ This subcommand has the following additional options:
|
|||
`--audit-log-location=AUDIT_LOG_LOCATION`
|
||||
: Audit log location to send diagnostic log messages to (default: '~/.inspec/logs/train-audit.log').
|
||||
|
||||
`--enable-audit-log`
|
||||
`--no-enable-audit-log`
|
||||
: Enable audit logging. (default: true)
|
||||
`--disable-audit-log`
|
||||
`--no-disable-audit-log`
|
||||
: Disable audit logging. (default: false)
|
||||
|
||||
`--audit-log-size=N`
|
||||
: Set audit log file size in bytes.(default: 2097152)
|
||||
|
|
|
@ -235,8 +235,8 @@ module Inspec
|
|||
option :audit_log_location, type: :string,
|
||||
desc: "Audit log location to send diagnostic log messages to. (default: '~/.inspec/logs/train-audit.log')"
|
||||
|
||||
option :enable_audit_log, type: :boolean, default: true,
|
||||
desc: "Enable audit logging."
|
||||
option :disable_audit_log, type: :boolean, default: false,
|
||||
desc: "Disable audit logging."
|
||||
|
||||
option :audit_log_size, type: :numeric, default: 2097152,
|
||||
desc: "Set audit log file size in bytes."
|
||||
|
|
|
@ -29,7 +29,7 @@ module Inspec
|
|||
audit_log_size
|
||||
audit_log_frequency
|
||||
audit_log_location
|
||||
enable_audit_log
|
||||
disable_audit_log
|
||||
audit_log_app_name
|
||||
}.freeze
|
||||
|
||||
|
|
Loading…
Reference in a new issue