AWS codecommit documentation change
Summary
Changed command step formatting and removed example output of approval rule creation
Security assessment
The change modifies documentation structure and removes an example output but does not alter security-related instructions or address vulnerabilities. Approval rules are security features, but the example removal doesn't impact their documentation.
Diff
diff --git a/codecommit/latest/userguide/how-to-create-pull-request-approval-rule.md b/codecommit/latest/userguide/how-to-create-pull-request-approval-rule.md index 5a0f05155..c5c8aee39 100644 --- a//codecommit/latest/userguide/how-to-create-pull-request-approval-rule.md +++ b//codecommit/latest/userguide/how-to-create-pull-request-approval-rule.md @@ -85 +85 @@ To use AWS CLI commands with CodeCommit, install the AWS CLI. For more informati - 1. Run the **create-pull-request-approval-rule** command, specifying: + * Run the **create-pull-request-approval-rule** command, specifying: @@ -111,14 +110,0 @@ The following example creates an approval rule named `Require two approved appro - 2. If successful, this command produces output similar to the following: - - { - "approvalRule": { - "approvalRuleName": "Require two approved approvers", - "lastModifiedDate": 1570752871.932, - "ruleContentSha256": "7c44e6ebEXAMPLE", - "creationDate": 1570752871.932, - "approvalRuleId": "aac33506-EXAMPLE", - "approvalRuleContent": "{\"Version\": \"2018-11-08\",\"Statements\": [{\"Type\": \"Approvers\",\"NumberOfApprovalsNeeded\": 2,\"ApprovalPoolMembers\": [\"CodeCommitApprovers:123456789012:Nikhil_Jayashankar\", \"arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*\"]}]}", - "lastModifiedUser": "arn:aws:iam::123456789012:user/Mary_Major" - } - } -