AWS ec2: Update describe-flow-logs example output and add link
Summary
Sample S3 bucket name changed to amzn-s3-demo-bucket, a new example output block added, and a 'For more information' link to flow logs docs added.
Security assessment
Edits are example-output cosmetic updates (bucket name, added sample output) and a documentation link; no security control, vulnerability, or hardening guidance is added.
Evidence
+ "LogDestination": "arn:aws:s3:::amzn-s3-demo-bucket/custom",
Diff
diff --git a/ec2/latest/devguide/example_ec2_DescribeFlowLogs_section.md b/ec2/latest/devguide/example_ec2_DescribeFlowLogs_section.md index 161fb48..62615ee 100644 --- a//ec2/latest/devguide/example_ec2_DescribeFlowLogs_section.md +++ b//ec2/latest/devguide/example_ec2_DescribeFlowLogs_section.md @@ -52 +52 @@ Output: - "LogDestination": "arn:aws:s3:::my-flow-log-bucket/custom", + "LogDestination": "arn:aws:s3:::amzn-s3-demo-bucket/custom", @@ -57,0 +58,2 @@ Output: +For more information, see [Work with flow logs](https://docs.aws.amazon.com/vpc/latest/userguide/working-with-flow-logs.html) in the _Amazon VPC User Guide_. + @@ -66,0 +69,23 @@ The following `describe-flow-logs` example uses a filter to display details for +Output: + + + { + "FlowLogs": [ + { + "CreationTime": "2021-06-10T08:15:42.317Z", + "DeliverLogsPermissionArn": "arn:aws:iam::123456789012:role/flow-logs-role", + "DeliverLogsStatus": "SUCCESS", + "FlowLogId": "fl-1a2b3c4d5e6f7a8b9", + "MaxAggregationInterval": 600, + "FlowLogStatus": "ACTIVE", + "LogGroupName": "MyFlowLogs", + "ResourceId": "vpc-1a2b3c4d5e6f7a8b9", + "TrafficType": "ALL", + "LogDestinationType": "cloud-watch-logs", + "LogFormat": "${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}" + } + ] + } + +For more information, see [Work with flow logs](https://docs.aws.amazon.com/vpc/latest/userguide/working-with-flow-logs.html) in the _Amazon VPC User Guide_. +