AWS code-library documentation change
Summary
Added resource tagging with project and tutorial tags to IAM roles, audit tasks, mitigation actions, and SNS topics
Security assessment
Changes only add metadata tags to resources. No evidence of security vulnerability fixes, security controls, or security feature documentation in the modifications.
Diff
diff --git a/code-library/latest/ug/sns_example_iot_GettingStarted_079_section.md b/code-library/latest/ug/sns_example_iot_GettingStarted_079_section.md index f0e4a18f4..da702db80 100644 --- a//code-library/latest/ug/sns_example_iot_GettingStarted_079_section.md +++ b//code-library/latest/ug/sns_example_iot_GettingStarted_079_section.md @@ -156,0 +157,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws iam tag-role --role-name "$ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-iot-device-defender-gs 2>&1 || true + @@ -419,0 +422,3 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + # Tag the audit task via IoT service + aws iot tag-resource --resource-arn "arn:aws:iot:$(aws configure get region):${ACCOUNT_ID}:audittask/${TASK_ID}" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-iot-device-defender-gs 2>&1 || true + @@ -528,0 +534 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws iot tag-resource --resource-arn "$MITIGATION_ACTION_ARN" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-iot-device-defender-gs 2>&1 || true @@ -608 +614 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - SNS_RESULT=$(aws sns create-topic --name "IoTDDNotifications" --output json 2>&1) || true + SNS_RESULT=$(aws sns create-topic --name "IoTDDNotifications" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-iot-device-defender-gs --output json 2>&1) || true