Skip to content

Commit 5652f99

Browse files
authored
Add examples for GuardDuty UpdateDetector. (aws#10000)
1 parent ada34b0 commit 5652f99

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Example 1: To enable runtime monitoring in GuardDuty**
2+
3+
The following ``update-detector`` example enables runtime monitoring without additional configuration. ::
4+
5+
aws guardduty update-detector \
6+
--detector-id 12abc34d567e8fa901bc2d34eexample \
7+
--features 'Name=RUNTIME_MONITORING,Status=ENABLED'
8+
9+
This command produces no output.
10+
11+
For more information, see `Runtime monitoring <https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html>`__ in the *GuardDuty User Guide*.
12+
13+
**Example 2: To enable runtime monitoring with additional configuration**
14+
15+
The following ``update-detector`` example enables runtime monitoring with additional configuration for EC2, ECS Fargate, and EKS. ::
16+
17+
aws guardduty update-detector \
18+
--detector-id 12abc34d567e8fa901bc2d34eexample \
19+
--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}]'
20+
21+
This command produces no output.
22+
23+
For more information, see `Runtime monitoring <https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html>`__ in the *GuardDuty User Guide*.

0 commit comments

Comments
 (0)