AWS cli documentation change
Summary
Added security-level parameter for CIS scan configurations with LEVEL_1/LEVEL_2 options, reordered schedule parameters, and updated syntax examples
Security assessment
The change introduces documentation for a new 'security-level' parameter that references CIS Benchmark levels, which are security standards. However, there's no evidence this addresses a specific security vulnerability. The change enhances documentation about security configuration options.
Diff
diff --git a/cli/latest/reference/inspector2/update-cis-scan-configuration.md b/cli/latest/reference/inspector2/update-cis-scan-configuration.md index a5fcc44ec..906586984 100644 --- a//cli/latest/reference/inspector2/update-cis-scan-configuration.md +++ b//cli/latest/reference/inspector2/update-cis-scan-configuration.md @@ -15 +15 @@ - * [AWS CLI 2.27.63 Command Reference](../../index.html) » + * [AWS CLI 2.28.0 Command Reference](../../index.html) » @@ -69 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec - [--schedule <value>] @@ -70,0 +70 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec + [--schedule <value>] @@ -103,0 +104,11 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec +`--security-level` (string) + +> The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile. +> +> Possible values: +> +> * `LEVEL_1` +> * `LEVEL_2` +> + + @@ -110 +121,5 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec -> This is a Tagged Union structure. Only one of the following top level keys can be set: `daily`, `monthly`, `oneTime`, `weekly`. +> This is a Tagged Union structure. Only one of the following top level keys can be set: `oneTime`, `daily`, `weekly`, `monthly`. +> +> oneTime -> (structure) +> +>> The schedule’s one time. @@ -128 +143 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec -> monthly -> (structure) +> weekly -> (structure) @@ -130,5 +145 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec ->> The schedule’s monthly. ->> ->> day -> (string) ->> ->>> The monthly schedule’s day. +>> The schedule’s weekly. @@ -138 +149 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec ->>> The monthly schedule’s start time. +>>> The weekly schedule’s start time. @@ -147,8 +157,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec -> -> oneTime -> (structure) -> ->> The schedule’s one time. -> -> weekly -> (structure) -> ->> The schedule’s weekly. @@ -160,0 +164,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec +> +> monthly -> (structure) +> +>> The schedule’s monthly. @@ -164 +171 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec ->>> The weekly schedule’s start time. +>>> The monthly schedule’s start time. @@ -172,0 +180,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec +>> +>> day -> (string) +>> +>>> The monthly schedule’s day. @@ -177 +188 @@ Shorthand Syntax: - daily={startTime={timeOfDay=string,timezone=string}},monthly={day=string,startTime={timeOfDay=string,timezone=string}},oneTime={},weekly={days=[string,string],startTime={timeOfDay=string,timezone=string}} + oneTime={},daily={startTime={timeOfDay=string,timezone=string}},weekly={startTime={timeOfDay=string,timezone=string},days=[string,string]},monthly={startTime={timeOfDay=string,timezone=string},day=string} @@ -183,0 +195,3 @@ JSON Syntax: + "oneTime": { + + }, @@ -190,2 +204 @@ JSON Syntax: - "monthly": { - "day": "SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT", + "weekly": { @@ -195 +207,0 @@ JSON Syntax: - } @@ -197,2 +209 @@ JSON Syntax: - "oneTime": { - + "days": ["SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT", ...] @@ -200,2 +211 @@ JSON Syntax: - "weekly": { - "days": ["SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT", ...], + "monthly": { @@ -204,0 +215,2 @@ JSON Syntax: + }, + "day": "SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT" @@ -207,12 +218,0 @@ JSON Syntax: - } - - -`--security-level` (string) - -> The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile. -> -> Possible values: -> -> * `LEVEL_1` -> * `LEVEL_2` -> @@ -370 +370 @@ scanConfigurationArn -> (string) - * [AWS CLI 2.27.63 Command Reference](../../index.html) » + * [AWS CLI 2.28.0 Command Reference](../../index.html) »