Skip to content

Commit 11a2340

Browse files
author
awstools
committed
feat(client-guardduty): Add EC2 support for GuardDuty Runtime Monitoring auto management.
1 parent 790018d commit 11a2340

15 files changed

+143
-33
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface CreateDetectorCommandOutput extends CreateDetectorResponse, __M
8484
* Status: "ENABLED" || "DISABLED",
8585
* AdditionalConfiguration: [ // DetectorAdditionalConfigurations
8686
* { // DetectorAdditionalConfiguration
87-
* Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
87+
* Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
8888
* Status: "ENABLED" || "DISABLED",
8989
* },
9090
* ],

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
4343
* accounts in this request, irrespective of the accounts being new or existing members. For
4444
* more information about the existing auto-enable settings for your organization, see
4545
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DescribeOrganizationConfiguration.html">DescribeOrganizationConfiguration</a>.</p>
46-
* <p>If you are adding accounts by invitation, before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a>, use
47-
* <code>CreateMembers</code> after GuardDuty has been enabled in potential member accounts.</p>
48-
* <p>If you disassociate a member from a GuardDuty
49-
* delegated administrator, the member account details
46+
* <p>If you disassociate a member account that was added by invitation, the member account details
5047
* obtained from this API, including the associated email addresses, will be retained.
5148
* This is done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
5249
* remove the details associated with a member account, the delegated administrator must invoke the
5350
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
51+
* <p>When the member accounts added through Organizations are later disassociated, you (administrator)
52+
* can't invite them by calling the InviteMembers API. You can create an association with these
53+
* member accounts again only by calling the CreateMembers API.</p>
5454
* @example
5555
* Use a bare-bones client and the command you need to make an API call.
5656
* ```javascript

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface DescribeOrganizationConfigurationCommandOutput
7979
* // AutoEnable: "NEW" || "NONE" || "ALL",
8080
* // AdditionalConfiguration: [ // OrganizationAdditionalConfigurationResults
8181
* // { // OrganizationAdditionalConfigurationResult
82-
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
82+
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
8383
* // AutoEnable: "NEW" || "NONE" || "ALL",
8484
* // },
8585
* // ],

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
3838
* <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
3939
* <code>ALL</code>, you'll receive an error if you attempt to disassociate a member account
4040
* before removing them from your organization.</p>
41+
* <p>If you disassociate a member account that was added by invitation, the member account details
42+
* obtained from this API, including the associated email addresses, will be retained.
43+
* This is done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
44+
* remove the details associated with a member account, the delegated administrator must invoke the
45+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
46+
* <p>When the member accounts added through Organizations are later disassociated, you (administrator)
47+
* can't invite them by calling the InviteMembers API. You can create an association with these
48+
* member accounts again only by calling the CreateMembers API.</p>
4149
* @example
4250
* Use a bare-bones client and the command you need to make an API call.
4351
* ```javascript

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export interface GetDetectorCommandOutput extends GetDetectorResponse, __Metadat
8686
* // UpdatedAt: new Date("TIMESTAMP"),
8787
* // AdditionalConfiguration: [ // DetectorAdditionalConfigurationResults
8888
* // { // DetectorAdditionalConfigurationResult
89-
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
89+
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
9090
* // Status: "ENABLED" || "DISABLED",
9191
* // UpdatedAt: new Date("TIMESTAMP"),
9292
* // },

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
578578
* // ThreatNames: [ // ThreatNames
579579
* // "STRING_VALUE",
580580
* // ],
581+
* // ThreatFileSha256: "STRING_VALUE",
581582
* // },
582583
* // ],
583584
* // },
@@ -744,6 +745,11 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
744745
* // MemoryRegions: [ // MemoryRegionsList
745746
* // "STRING_VALUE",
746747
* // ],
748+
* // ToolName: "STRING_VALUE",
749+
* // ToolCategory: "STRING_VALUE",
750+
* // ServiceName: "STRING_VALUE",
751+
* // CommandLineExample: "STRING_VALUE",
752+
* // ThreatFilePath: "STRING_VALUE",
747753
* // },
748754
* // },
749755
* // Detection: { // Detection

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface GetMemberDetectorsCommandOutput extends GetMemberDetectorsRespo
8484
* // UpdatedAt: new Date("TIMESTAMP"),
8585
* // AdditionalConfiguration: [ // MemberAdditionalConfigurationResults
8686
* // { // MemberAdditionalConfigurationResult
87-
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
87+
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
8888
* // Status: "ENABLED" || "DISABLED",
8989
* // UpdatedAt: new Date("TIMESTAMP"),
9090
* // },

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface GetOrganizationStatisticsCommandOutput extends GetOrganizationS
5454
* // EnabledAccountsCount: Number("int"),
5555
* // AdditionalConfiguration: [ // OrganizationFeatureStatisticsAdditionalConfigurations
5656
* // { // OrganizationFeatureStatisticsAdditionalConfiguration
57-
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
57+
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
5858
* // EnabledAccountsCount: Number("int"),
5959
* // },
6060
* // ],

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
4545
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">CreateMembers</a> again. To
4646
* remove the details associated with a member account, you must also invoke
4747
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a>. </p>
48+
* <p>If you disassociate a member account that was added by invitation, the member account details
49+
* obtained from this API, including the associated email addresses, will be retained.
50+
* This is done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
51+
* remove the details associated with a member account, the delegated administrator must invoke the
52+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API. </p>
53+
* <p>When the member accounts added through Organizations are later disassociated, you (administrator)
54+
* can't invite them by calling the InviteMembers API. You can create an association with these
55+
* member accounts again only by calling the CreateMembers API.</p>
4856
* @example
4957
* Use a bare-bones client and the command you need to make an API call.
5058
* ```javascript

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface UpdateDetectorCommandOutput extends UpdateDetectorResponse, __M
6767
* Status: "ENABLED" || "DISABLED",
6868
* AdditionalConfiguration: [ // DetectorAdditionalConfigurations
6969
* { // DetectorAdditionalConfiguration
70-
* Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
70+
* Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
7171
* Status: "ENABLED" || "DISABLED",
7272
* },
7373
* ],

0 commit comments

Comments
 (0)