Skip to content

Commit 52b987d

Browse files
author
awstools
committed
feat(client-guardduty): Added IPv6Address fields for local and remote IP addresses
1 parent 2660570 commit 52b987d

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

clients/client-guardduty/src/commands/GetFindingsCommand.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
396396
* // Lon: Number("double"),
397397
* // },
398398
* // IpAddressV4: "STRING_VALUE",
399+
* // IpAddressV6: "STRING_VALUE",
399400
* // Organization: { // Organization
400401
* // Asn: "STRING_VALUE",
401402
* // AsnOrg: "STRING_VALUE",
@@ -428,6 +429,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
428429
* // Protocol: "STRING_VALUE",
429430
* // LocalIpDetails: { // LocalIpDetails
430431
* // IpAddressV4: "STRING_VALUE",
432+
* // IpAddressV6: "STRING_VALUE",
431433
* // },
432434
* // RemoteIpDetails: {
433435
* // City: {
@@ -442,6 +444,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
442444
* // Lon: Number("double"),
443445
* // },
444446
* // IpAddressV4: "STRING_VALUE",
447+
* // IpAddressV6: "STRING_VALUE",
445448
* // Organization: {
446449
* // Asn: "STRING_VALUE",
447450
* // AsnOrg: "STRING_VALUE",
@@ -464,6 +467,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
464467
* // },
465468
* // LocalIpDetails: {
466469
* // IpAddressV4: "STRING_VALUE",
470+
* // IpAddressV6: "STRING_VALUE",
467471
* // },
468472
* // RemoteIpDetails: {
469473
* // City: {
@@ -478,6 +482,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
478482
* // Lon: Number("double"),
479483
* // },
480484
* // IpAddressV4: "STRING_VALUE",
485+
* // IpAddressV6: "STRING_VALUE",
481486
* // Organization: {
482487
* // Asn: "STRING_VALUE",
483488
* // AsnOrg: "STRING_VALUE",
@@ -508,6 +513,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
508513
* // Lon: Number("double"),
509514
* // },
510515
* // IpAddressV4: "STRING_VALUE",
516+
* // IpAddressV6: "STRING_VALUE",
511517
* // Organization: {
512518
* // Asn: "STRING_VALUE",
513519
* // AsnOrg: "STRING_VALUE",
@@ -536,6 +542,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
536542
* // Lon: Number("double"),
537543
* // },
538544
* // IpAddressV4: "STRING_VALUE",
545+
* // IpAddressV6: "STRING_VALUE",
539546
* // Organization: {
540547
* // Asn: "STRING_VALUE",
541548
* // AsnOrg: "STRING_VALUE",

clients/client-guardduty/src/models/models_0.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,12 @@ export interface RemoteIpDetails {
564564
*/
565565
IpAddressV4?: string;
566566

567+
/**
568+
* <p>The IPv6 remote address of the connection.</p>
569+
* @public
570+
*/
571+
IpAddressV6?: string;
572+
567573
/**
568574
* <p>The ISP organization information of the remote IP address.</p>
569575
* @public
@@ -842,6 +848,12 @@ export interface LocalIpDetails {
842848
* @public
843849
*/
844850
IpAddressV4?: string;
851+
852+
/**
853+
* <p>The IPv6 local address of the connection.</p>
854+
* @public
855+
*/
856+
IpAddressV6?: string;
845857
}
846858

847859
/**
@@ -2608,6 +2620,9 @@ export interface CreateFilterRequest {
26082620
* <p>service.action.awsApiCallAction.remoteIpDetails.ipAddressV4</p>
26092621
* </li>
26102622
* <li>
2623+
* <p>service.action.awsApiCallAction.remoteIpDetails.ipAddressV6</p>
2624+
* </li>
2625+
* <li>
26112626
* <p>service.action.awsApiCallAction.remoteIpDetails.organization.asn</p>
26122627
* </li>
26132628
* <li>
@@ -2644,6 +2659,9 @@ export interface CreateFilterRequest {
26442659
* <p>service.action.networkConnectionAction.remoteIpDetails.ipAddressV4</p>
26452660
* </li>
26462661
* <li>
2662+
* <p>service.action.networkConnectionAction.remoteIpDetails.ipAddressV6</p>
2663+
* </li>
2664+
* <li>
26472665
* <p>service.action.networkConnectionAction.remoteIpDetails.organization.asn</p>
26482666
* </li>
26492667
* <li>
@@ -2659,6 +2677,9 @@ export interface CreateFilterRequest {
26592677
* <p>service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4</p>
26602678
* </li>
26612679
* <li>
2680+
* <p>service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6</p>
2681+
* </li>
2682+
* <li>
26622683
* <p>service.action.kubernetesApiCallAction.namespace</p>
26632684
* </li>
26642685
* <li>
@@ -2674,6 +2695,9 @@ export interface CreateFilterRequest {
26742695
* <p>service.action.networkConnectionAction.localIpDetails.ipAddressV4</p>
26752696
* </li>
26762697
* <li>
2698+
* <p>service.action.networkConnectionAction.localIpDetails.ipAddressV6</p>
2699+
* </li>
2700+
* <li>
26772701
* <p>service.action.networkConnectionAction.protocol</p>
26782702
* </li>
26792703
* <li>
@@ -7661,6 +7685,7 @@ export const AccountDetailFilterSensitiveLog = (obj: AccountDetail): any => ({
76617685
export const RemoteIpDetailsFilterSensitiveLog = (obj: RemoteIpDetails): any => ({
76627686
...obj,
76637687
...(obj.IpAddressV4 && { IpAddressV4: SENSITIVE_STRING }),
7688+
...(obj.IpAddressV6 && { IpAddressV6: SENSITIVE_STRING }),
76647689
});
76657690

76667691
/**
@@ -7685,6 +7710,7 @@ export const KubernetesApiCallActionFilterSensitiveLog = (obj: KubernetesApiCall
76857710
export const LocalIpDetailsFilterSensitiveLog = (obj: LocalIpDetails): any => ({
76867711
...obj,
76877712
...(obj.IpAddressV4 && { IpAddressV4: SENSITIVE_STRING }),
7713+
...(obj.IpAddressV6 && { IpAddressV6: SENSITIVE_STRING }),
76887714
});
76897715

76907716
/**

clients/client-guardduty/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5111,6 +5111,7 @@ const de_LineageObject = (output: any, context: __SerdeContext): LineageObject =
51115111
const de_LocalIpDetails = (output: any, context: __SerdeContext): LocalIpDetails => {
51125112
return take(output, {
51135113
IpAddressV4: [, __expectString, `ipAddressV4`],
5114+
IpAddressV6: [, __expectString, `ipAddressV6`],
51145115
}) as any;
51155116
};
51165117

@@ -5805,6 +5806,7 @@ const de_RemoteIpDetails = (output: any, context: __SerdeContext): RemoteIpDetai
58055806
Country: [, (_: any) => de_Country(_, context), `country`],
58065807
GeoLocation: [, (_: any) => de_GeoLocation(_, context), `geoLocation`],
58075808
IpAddressV4: [, __expectString, `ipAddressV4`],
5809+
IpAddressV6: [, __expectString, `ipAddressV6`],
58085810
Organization: [, (_: any) => de_Organization(_, context), `organization`],
58095811
}) as any;
58105812
};

0 commit comments

Comments
 (0)