Skip to content

Commit dba7ee2

Browse files
Adding support for extended threat detection for EKS Audit Logs and EKS Runtime Monitoring.
1 parent e3113ab commit dba7ee2

28 files changed

+1843
-55
lines changed

generator/ServiceModels/guardduty/guardduty-2017-11-28.api.json

Lines changed: 183 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,10 @@
13491349
"Session":{
13501350
"shape":"Session",
13511351
"locationName":"session"
1352+
},
1353+
"Process":{
1354+
"shape":"ActorProcess",
1355+
"locationName":"process"
13521356
}
13531357
}
13541358
},
@@ -1357,11 +1361,36 @@
13571361
"member":{"shape":"String"},
13581362
"max":400
13591363
},
1364+
"ActorProcess":{
1365+
"type":"structure",
1366+
"required":[
1367+
"Name",
1368+
"Path"
1369+
],
1370+
"members":{
1371+
"Name":{
1372+
"shape":"ProcessName",
1373+
"locationName":"name"
1374+
},
1375+
"Path":{
1376+
"shape":"ProcessPath",
1377+
"locationName":"path"
1378+
},
1379+
"Sha256":{
1380+
"shape":"ProcessSha256",
1381+
"locationName":"sha256"
1382+
}
1383+
}
1384+
},
13601385
"Actors":{
13611386
"type":"list",
13621387
"member":{"shape":"Actor"},
13631388
"max":400
13641389
},
1390+
"AdditionalSequenceTypes":{
1391+
"type":"list",
1392+
"member":{"shape":"FindingType"}
1393+
},
13651394
"AddonDetails":{
13661395
"type":"structure",
13671396
"members":{
@@ -1680,6 +1709,17 @@
16801709
}
16811710
}
16821711
},
1712+
"ClusterStatus":{
1713+
"type":"string",
1714+
"enum":[
1715+
"CREATING",
1716+
"ACTIVE",
1717+
"DELETING",
1718+
"FAILED",
1719+
"UPDATING",
1720+
"PENDING"
1721+
]
1722+
},
16831723
"Condition":{
16841724
"type":"structure",
16851725
"members":{
@@ -1787,6 +1827,25 @@
17871827
}
17881828
}
17891829
},
1830+
"ContainerFindingResource":{
1831+
"type":"structure",
1832+
"required":["Image"],
1833+
"members":{
1834+
"Image":{
1835+
"shape":"String",
1836+
"locationName":"image"
1837+
},
1838+
"ImageUid":{
1839+
"shape":"ContainerImageUid",
1840+
"locationName":"imageUid"
1841+
}
1842+
}
1843+
},
1844+
"ContainerImageUid":{
1845+
"type":"string",
1846+
"max":1024,
1847+
"min":1
1848+
},
17901849
"ContainerInstanceDetails":{
17911850
"type":"structure",
17921851
"members":{
@@ -1800,6 +1859,15 @@
18001859
}
18011860
}
18021861
},
1862+
"ContainerUid":{
1863+
"type":"string",
1864+
"max":256,
1865+
"min":0
1866+
},
1867+
"ContainerUids":{
1868+
"type":"list",
1869+
"member":{"shape":"ContainerUid"}
1870+
},
18031871
"Containers":{
18041872
"type":"list",
18051873
"member":{"shape":"Container"}
@@ -3330,6 +3398,17 @@
33303398
}
33313399
}
33323400
},
3401+
"Ec2InstanceUid":{
3402+
"type":"string",
3403+
"max":256,
3404+
"min":0
3405+
},
3406+
"Ec2InstanceUids":{
3407+
"type":"list",
3408+
"member":{"shape":"Ec2InstanceUid"},
3409+
"max":25,
3410+
"min":0
3411+
},
33333412
"Ec2NetworkInterface":{
33343413
"type":"structure",
33353414
"members":{
@@ -3449,6 +3528,31 @@
34493528
}
34503529
}
34513530
},
3531+
"EksCluster":{
3532+
"type":"structure",
3533+
"members":{
3534+
"Arn":{
3535+
"shape":"String",
3536+
"locationName":"arn"
3537+
},
3538+
"CreatedAt":{
3539+
"shape":"Timestamp",
3540+
"locationName":"createdAt"
3541+
},
3542+
"Status":{
3543+
"shape":"ClusterStatus",
3544+
"locationName":"status"
3545+
},
3546+
"VpcId":{
3547+
"shape":"String",
3548+
"locationName":"vpcId"
3549+
},
3550+
"Ec2InstanceUids":{
3551+
"shape":"Ec2InstanceUids",
3552+
"locationName":"ec2InstanceUids"
3553+
}
3554+
}
3555+
},
34523556
"EksClusterDetails":{
34533557
"type":"structure",
34543558
"members":{
@@ -3481,7 +3585,8 @@
34813585
"Email":{
34823586
"type":"string",
34833587
"max":64,
3484-
"min":1,
3588+
"min":6,
3589+
"pattern":"See rules in parameter description",
34853590
"sensitive":true
34863591
},
34873592
"EnableOrganizationAdminAccountRequest":{
@@ -3750,7 +3855,10 @@
37503855
"EC2_NETWORK_INTERFACE",
37513856
"S3_BUCKET",
37523857
"S3_OBJECT",
3753-
"ACCESS_KEY"
3858+
"ACCESS_KEY",
3859+
"EKS_CLUSTER",
3860+
"KUBERNETES_WORKLOAD",
3861+
"CONTAINER"
37543862
]
37553863
},
37563864
"FindingStatisticType":{
@@ -4616,7 +4724,13 @@
46164724
"ATTACK_TECHNIQUE",
46174725
"UNUSUAL_API_FOR_ACCOUNT",
46184726
"UNUSUAL_ASN_FOR_ACCOUNT",
4619-
"UNUSUAL_ASN_FOR_USER"
4727+
"UNUSUAL_ASN_FOR_USER",
4728+
"SUSPICIOUS_PROCESS",
4729+
"MALICIOUS_DOMAIN",
4730+
"MALICIOUS_PROCESS",
4731+
"CRYPTOMINING_IP",
4732+
"CRYPTOMINING_DOMAIN",
4733+
"CRYPTOMINING_PROCESS"
46204734
]
46214735
},
46224736
"IndicatorValueString":{
@@ -4972,6 +5086,19 @@
49725086
}
49735087
}
49745088
},
5089+
"KubernetesResourcesTypes":{
5090+
"type":"string",
5091+
"enum":[
5092+
"PODS",
5093+
"JOBS",
5094+
"CRONJOBS",
5095+
"DEPLOYMENTS",
5096+
"DAEMONSETS",
5097+
"STATEFULSETS",
5098+
"REPLICASETS",
5099+
"REPLICATIONCONTROLLERS"
5100+
]
5101+
},
49755102
"KubernetesRoleBindingDetails":{
49765103
"type":"structure",
49775104
"members":{
@@ -5039,6 +5166,23 @@
50395166
}
50405167
}
50415168
},
5169+
"KubernetesWorkload":{
5170+
"type":"structure",
5171+
"members":{
5172+
"ContainerUids":{
5173+
"shape":"ContainerUids",
5174+
"locationName":"containerUids"
5175+
},
5176+
"Namespace":{
5177+
"shape":"String",
5178+
"locationName":"namespace"
5179+
},
5180+
"KubernetesResourcesTypes":{
5181+
"shape":"KubernetesResourcesTypes",
5182+
"locationName":"kubernetesResourcesTypes"
5183+
}
5184+
}
5185+
},
50425186
"KubernetesWorkloadDetails":{
50435187
"type":"structure",
50445188
"members":{
@@ -6633,6 +6777,21 @@
66336777
}
66346778
}
66356779
},
6780+
"ProcessName":{
6781+
"type":"string",
6782+
"max":4096,
6783+
"min":0
6784+
},
6785+
"ProcessPath":{
6786+
"type":"string",
6787+
"max":4096,
6788+
"min":0
6789+
},
6790+
"ProcessSha256":{
6791+
"type":"string",
6792+
"max":1024,
6793+
"min":0
6794+
},
66366795
"ProductCode":{
66376796
"type":"structure",
66386797
"members":{
@@ -6964,6 +7123,18 @@
69647123
"S3Object":{
69657124
"shape":"S3Object",
69667125
"locationName":"s3Object"
7126+
},
7127+
"EksCluster":{
7128+
"shape":"EksCluster",
7129+
"locationName":"eksCluster"
7130+
},
7131+
"KubernetesWorkload":{
7132+
"shape":"KubernetesWorkload",
7133+
"locationName":"kubernetesWorkload"
7134+
},
7135+
"Container":{
7136+
"shape":"ContainerFindingResource",
7137+
"locationName":"container"
69677138
}
69687139
}
69697140
},
@@ -7679,6 +7850,10 @@
76797850
"SequenceIndicators":{
76807851
"shape":"Indicators",
76817852
"locationName":"sequenceIndicators"
7853+
},
7854+
"AdditionalSequenceTypes":{
7855+
"shape":"AdditionalSequenceTypes",
7856+
"locationName":"additionalSequenceTypes"
76827857
}
76837858
}
76847859
},
@@ -7890,7 +8065,11 @@
78908065
"enum":[
78918066
"FINDING",
78928067
"CLOUD_TRAIL",
7893-
"S3_DATA_EVENTS"
8068+
"S3_DATA_EVENTS",
8069+
"EKS_AUDIT_LOGS",
8070+
"FLOW_LOGS",
8071+
"DNS_LOGS",
8072+
"RUNTIME_MONITORING"
78948073
]
78958074
},
78968075
"Signals":{

0 commit comments

Comments
 (0)