Repository navigation
Expand file tree
/
Copy pathaws_cloudtrail_createpolicyversion.yml
More file actions
104 lines (104 loc) · 3.44 KB
/
Copy pathaws_cloudtrail_createpolicyversion.yml
File metadata and controls
104 lines (104 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
name: AWS CloudTrail CreatePolicyVersion
id: f9f0f3da-37ec-4164-9ea0-0ae46645a86b
version: 4
creation_date: '2024-05-22'
modification_date: '2026-10-14'
author: Patrick Bareiss, Splunk
description: Logs the creation of new versions of IAM policies, including changes to permissions and attached roles or resources.
mitre_components:
- Cloud Service Modification
- Cloud Service Metadata
- User Account Metadata
- Group Modification
source: aws_cloudtrail
sourcetype: aws:cloudtrail
separator: eventName
separator_value: CreatePolicyVersion
supported_TA:
- name: Splunk Add-on for AWS
url: https://splunkbase.splunk.com/app/1876
version: 8.2.2
fields:
- _time
- action
- app
- aws_account_id
- awsRegion
- change_type
- command
- dest
- dvc
- errorCode
- errorMessage
- eventCategory
- eventID
- eventName
- eventSource
- eventTime
- eventType
- eventtype
- eventVersion
- host
- index
- linecount
- managementEvent
- msg
- object_category
- product
- punct
- readOnly
- reason
- recipientAccountId
- region
- requestID
- requestParameters.policyArn
- requestParameters.policyDocument
- requestParameters.setAsDefault
- responseElements
- responseElements.policyVersion.createDate
- responseElements.policyVersion.isDefaultVersion
- responseElements.policyVersion.versionId
- result
- result_id
- signature
- source
- sourceIPAddress
- sourcetype
- splunk_server
- src
- src_ip
- src_user
- start_time
- status
- tag
- tag::eventtype
- timestamp
- user
- user_access_key
- user_agent
- user_arn
- user_group_id
- user_name
- user_type
- userAgent
- userIdentity.accessKeyId
- userIdentity.accountId
- userIdentity.arn
- userIdentity.principalId
- userIdentity.type
- userIdentity.userName
- userName
- vendor
- vendor_account
- vendor_product
- vendor_region
output_fields:
- dest
- user
- user_agent
- src
- vendor_account
- vendor_region
- vendor_product
example_log: |
{"eventVersion": "1.08", "userIdentity": {"type": "IAMUser", "principalId": "AIDAYTOGP2RLEHRX5YWNV", "arn": "arn:aws:iam::111111111111:user/bhavin_cli", "accountId": "111111111111", "accessKeyId": "AKIAYTOGP2RLNWREA6ND", "userName": "bhavin_cli"}, "eventTime": "2021-02-23T00:00:16Z", "eventSource": "iam.amazonaws.com", "eventName": "CreatePolicyVersion", "awsRegion": "us-east-1", "sourceIPAddress": "73.15.72.101", "userAgent": "aws-cli/2.0.62 Python/3.9.0 Darwin/19.6.0 source/x86_64 command/iam.create-policy-version", "errorCode": "NoSuchEntityException", "errorMessage": "Policy arn:aws:iam::111111111111:policy/privesc1 does not exist or is not attachable.", "requestParameters": {"policyArn": "arn:aws:iam::111111111111:policy/privesc1", "policyDocument": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"AllowEverything\",\n \"Effect\": \"Allow\",\n \"Action\": \"iam:*\",\n \"Resource\": \"*\"\n }\n ]\n }", "setAsDefault": true}, "responseElements": null, "requestID": "0274bd4e-61e2-471b-9c10-eb5fd92d9892", "eventID": "4a5d643f-bda4-4c67-a31d-35699c843a9e", "readOnly": false, "eventType": "AwsApiCall", "managementEvent": true, "eventCategory": "Management", "recipientAccountId": "111111111111"}