AWS cli documentation change
Summary
Added examples for enabling runtime monitoring and updated CLI version reference
Security assessment
Added documentation examples for enabling GuardDuty's runtime monitoring security feature, but no evidence of addressing a specific vulnerability. Enhances security feature documentation.
Diff
diff --git a/cli/latest/reference/guardduty/update-detector.md b/cli/latest/reference/guardduty/update-detector.md index 80ad529e4..acb898a06 100644 --- a//cli/latest/reference/guardduty/update-detector.md +++ b//cli/latest/reference/guardduty/update-detector.md @@ -15 +15 @@ - * [AWS CLI 2.33.2 Command Reference](../../index.html) » + * [AWS CLI 2.33.4 Command Reference](../../index.html) » @@ -35,0 +36 @@ + * Examples @@ -382,0 +384,36 @@ Disable automatically prompt for CLI input parameters. +## Examples¶ + +### Note + +To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information. + +Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ . + +**Example 1: To enable runtime monitoring in GuardDuty** + +The following `update-detector` example enables runtime monitoring without additional configuration. + + + aws guardduty update-detector \ + --detector-id 12abc34d567e8fa901bc2d34eexample \ + --features 'Name=RUNTIME_MONITORING,Status=ENABLED' + + +This command produces no output. + +For more information, see [Runtime monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html) in the _GuardDuty User Guide_. + +**Example 2: To enable runtime monitoring with additional configuration** + +The following `update-detector` example enables runtime monitoring with additional configuration for EC2, ECS Fargate, and EKS. + + + aws guardduty update-detector \ + --detector-id 12abc34d567e8fa901bc2d34eexample \ + --features 'Name=RUNTIME_MONITORING,Status=ENABLED,AdditionalConfiguration=[{Name=EC2_AGENT_MANAGEMENT,Status=ENABLED},{Name=ECS_FARGATE_AGENT_MANAGEMENT,Status=ENABLED},{Name=EKS_ADDON_MANAGEMENT,Status=ENABLED}]' + + +This command produces no output. + +For more information, see [Runtime monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html) in the _GuardDuty User Guide_. + @@ -397 +434 @@ None - * [AWS CLI 2.33.2 Command Reference](../../index.html) » + * [AWS CLI 2.33.4 Command Reference](../../index.html) »