AWS emr: Update CloudTrail log examples with TLS details and new actions
Summary
Refreshes CloudTrail example log entries: changes the demonstrated action to CallPrivilegedTool/analyze_spark_workload, bumps eventVersion to 1.11, adds tlsDetails (TLSv1.3, cipher suite), and replaces the AddJobFlowSteps example with an EMR Serverless GetJobRun read-only event including vpcEndpointId.
Security assessment
The diff documents audit logging via CloudTrail, including TLS version/cipher details and read-only vs write event fields, which supports security monitoring and auditability; it is not tied to a specific vulnerability.
Evidence
"tlsVersion": "TLSv1.3",
Diff
diff --git a/emr/latest/ReleaseGuide/spark-troubleshooting-cloudtrail-integration.md b/emr/latest/ReleaseGuide/spark-troubleshooting-cloudtrail-integration.md index 12378d9..4d8872d 100644 --- a//emr/latest/ReleaseGuide/spark-troubleshooting-cloudtrail-integration.md +++ b//emr/latest/ReleaseGuide/spark-troubleshooting-cloudtrail-integration.md @@ -51 +51 @@ A trail is a configuration that enables delivery of events as log files to an Am -The following example shows a CloudTrail log entry that demonstrates the `CallTool` action. +The following example shows a CloudTrail log entry that demonstrates the `CallPrivilegedTool` action for an `analyze_spark_workload` invocation. @@ -55 +55 @@ The following example shows a CloudTrail log entry that demonstrates the `CallTo - "eventVersion": "1.09", + "eventVersion": "1.11", @@ -69 +69 @@ The following example shows a CloudTrail log entry that demonstrates the `CallTo - "name": "generate_spark_upgrade_plan", + "name": "analyze_spark_workload", @@ -71,0 +72 @@ The following example shows a CloudTrail log entry that demonstrates the `CallTo + "AWS_REGION": "us-east-1", @@ -92 +93,5 @@ The following example shows a CloudTrail log entry that demonstrates the `CallTo - "eventCategory": "Management" + "eventCategory": "Management", + "tlsDetails": { + "tlsVersion": "TLSv1.3", + "cipherSuite": "TLS_AES_128_GCM_SHA256" + } @@ -95 +100 @@ The following example shows a CloudTrail log entry that demonstrates the `CallTo -The following example shows a CloudTrail log entry that demonstrates the `AddJobFlowSteps` action from Amazon SageMaker Unified Studio MCP during an upgrade tool invocation. +The following example shows a CloudTrail log entry that demonstrates the Amazon EMR Serverless `GetJobRun` action that Amazon SageMaker Unified Studio MCP calls during a tool invocation. @@ -109 +114 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "invokedBy": "sagemaker-unified-studio-mcp.amazonaws.com" + "invokedBy": "us-east-1.dataprocessing-mcp.amazonaws.com" @@ -112,2 +117,2 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "eventSource": "elasticmapreduce.amazonaws.com", - "eventName": "AddJobFlowSteps", + "eventSource": "emr-serverless.amazonaws.com", + "eventName": "GetJobRun", @@ -115,2 +120,2 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "sourceIPAddress": "sagemaker-unified-studio-mcp.amazonaws.com", - "userAgent": "sagemaker-unified-studio-mcp.amazonaws.com", + "sourceIPAddress": "us-east-1.dataprocessing-mcp.amazonaws.com", + "userAgent": "us-east-1.dataprocessing-mcp.amazonaws.com", @@ -118,9 +123,2 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "jobFlowId": "j-2PY4KXXXXXX63", - "steps": [ - ... - ] - }, - "responseElements": { - "stepIds": [ - ... - ] + "jobRunId": "00xxxxxxxxxxxxxx", + "applicationId": "00yyyyyyyyyyyyyy" @@ -127,0 +126 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob + "responseElements": null, @@ -130 +129 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "readOnly": false, + "readOnly": true, @@ -134,3 +133 @@ The following example shows a CloudTrail log entry that demonstrates the `AddJob - "sharedEventID": "12345678-1234-1234-1234-123456789012", - "vpcEndpointId": "sagemaker-unified-studio-mcp.amazonaws.com", - "vpcEndpointAccountId": "sagemaker-unified-studio-mcp.amazonaws.com", + "vpcEndpointId": "vpce-1234567890abcdef0",