AWS devopsagent documentation change
Summary
Fixed JSON/curl formatting indentation in examples
Security assessment
Purely cosmetic formatting changes. Headers like 'Authorization: Bearer' and 'x-amzn-event-signature' remain unchanged with no security implications.
Diff
diff --git a/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-invoking-devops-agent-through-webhook.md b/devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-invoking-devops-agent-through-webhook.md index 185bcb939..ba0d13624 100644 --- a//devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-invoking-devops-agent-through-webhook.md +++ b//devopsagent/latest/userguide/configuring-capabilities-for-aws-devops-agent-invoking-devops-agent-through-webhook.md @@ -232,8 +232,8 @@ The request body should include information about the incident: - "eventType": "incident", - "incidentId": "$INCIDENT_ID", - "action": "created", - "priority": "HIGH", - "title": "Test Alert", - "description": "Test alert description", - "service": "TestService", - "timestamp": "$TIMESTAMP" + "eventType": "incident", + "incidentId": "$INCIDENT_ID", + "action": "created", + "priority": "HIGH", + "title": "Test Alert", + "description": "Test alert description", + "service": "TestService", + "timestamp": "$TIMESTAMP" @@ -249,4 +249,4 @@ The request body should include information about the incident: - -H "Content-Type: application/json" \ - -H "x-amzn-event-timestamp: $TIMESTAMP" \ - -H "x-amzn-event-signature: $SIGNATURE" \ - -d "$PAYLOAD" + -H "Content-Type: application/json" \ + -H "x-amzn-event-timestamp: $TIMESTAMP" \ + -H "x-amzn-event-signature: $SIGNATURE" \ + -d "$PAYLOAD" @@ -298,8 +298,8 @@ The request body should include information about the incident: - "eventType": "incident", - "incidentId": "$INCIDENT_ID", - "action": "created", - "priority": "HIGH", - "title": "Test Alert", - "description": "Test alert description", - "service": "TestService", - "timestamp": "$TIMESTAMP" + "eventType": "incident", + "incidentId": "$INCIDENT_ID", + "action": "created", + "priority": "HIGH", + "title": "Test Alert", + "description": "Test alert description", + "service": "TestService", + "timestamp": "$TIMESTAMP" @@ -312,4 +312,4 @@ The request body should include information about the incident: - -H "Content-Type: application/json" \ - -H "x-amzn-event-timestamp: $TIMESTAMP" \ - -H "Authorization: Bearer $SECRET" \ - -d "$PAYLOAD" + -H "Content-Type: application/json" \ + -H "x-amzn-event-timestamp: $TIMESTAMP" \ + -H "Authorization: Bearer $SECRET" \ + -d "$PAYLOAD"