Skip to content

Commit

Permalink
feat(client-guardduty): Add launchType and sourceIPs fields to Gu…
Browse files Browse the repository at this point in the history
…ardDuty findings.
  • Loading branch information
awstools committed Sep 18, 2024
1 parent 6976388 commit 13c3582
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
* // },
* // ],
* // Group: "STRING_VALUE",
* // LaunchType: "STRING_VALUE",
* // },
* // },
* // ContainerDetails: {
Expand Down
6 changes: 6 additions & 0 deletions clients/client-guardduty/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5087,6 +5087,12 @@ export interface EcsTaskDetails {
* @public
*/
Group?: string;

/**
* <p>A capacity on which the task is running. For example, <code>Fargate</code> and <code>EC2</code>.</p>
* @public
*/
LaunchType?: string;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion clients/client-guardduty/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5041,6 +5041,7 @@ const de_EcsTaskDetails = (output: any, context: __SerdeContext): EcsTaskDetails
Containers: [, (_: any) => de_Containers(_, context), `containers`],
DefinitionArn: [, __expectString, `definitionArn`],
Group: [, __expectString, `group`],
LaunchType: [, __expectString, `launchType`],
StartedAt: [, (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `startedAt`],
StartedBy: [, __expectString, `startedBy`],
Tags: [, (_: any) => de_Tags(_, context), `tags`],
Expand Down Expand Up @@ -5407,7 +5408,7 @@ const de_KubernetesApiCallAction = (output: any, context: __SerdeContext): Kuber
RequestUri: [, __expectString, `requestUri`],
Resource: [, __expectString, `resource`],
ResourceName: [, __expectString, `resourceName`],
SourceIps: [, _json, `sourceIps`],
SourceIps: [, _json, `sourceIPs`],
StatusCode: [, __expectInt32, `statusCode`],
Subresource: [, __expectString, `subresource`],
UserAgent: [, __expectString, `userAgent`],
Expand Down
9 changes: 8 additions & 1 deletion codegen/sdk-codegen/aws-models/guardduty.json
Original file line number Diff line number Diff line change
Expand Up @@ -4674,6 +4674,13 @@
"smithy.api#documentation": "<p>The name of the task group that's associated with the task.</p>",
"smithy.api#jsonName": "group"
}
},
"LaunchType": {
"target": "com.amazonaws.guardduty#String",
"traits": {
"smithy.api#documentation": "<p>A capacity on which the task is running. For example, <code>Fargate</code> and <code>EC2</code>.</p>",
"smithy.api#jsonName": "launchType"
}
}
},
"traits": {
Expand Down Expand Up @@ -8774,7 +8781,7 @@
"target": "com.amazonaws.guardduty#SourceIps",
"traits": {
"smithy.api#documentation": "<p>The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between\n the caller and the API endpoint.</p>",
"smithy.api#jsonName": "sourceIps"
"smithy.api#jsonName": "sourceIPs"
}
},
"UserAgent": {
Expand Down

0 comments on commit 13c3582

Please sign in to comment.