@aws-sdk/client-guardduty 3.1123.0 → 3.1124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -0
- package/dist-cjs/index.js +558 -96
- package/dist-es/GuardDuty.js +30 -0
- package/dist-es/commands/CreateCustomDetectionRuleAssociationCommand.js +4 -0
- package/dist-es/commands/CreateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
- package/dist-es/commands/DeleteCustomDetectionRuleAssociationCommand.js +4 -0
- package/dist-es/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.js +4 -0
- package/dist-es/commands/GetCustomDetectionRuleAssociationCommand.js +4 -0
- package/dist-es/commands/GetCustomDetectionRuleCommand.js +4 -0
- package/dist-es/commands/GetCustomDetectionRuleOrgConfigurationCommand.js +4 -0
- package/dist-es/commands/ListCustomDetectionRuleAssociationsCommand.js +4 -0
- package/dist-es/commands/ListCustomDetectionRuleOrgConfigurationsCommand.js +4 -0
- package/dist-es/commands/ListCustomDetectionRulesCommand.js +4 -0
- package/dist-es/commands/UpdateCustomDetectionRuleAssociationCommand.js +4 -0
- package/dist-es/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +37 -0
- package/dist-es/pagination/ListCustomDetectionRuleAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomDetectionRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +398 -95
- package/dist-types/GuardDuty.d.ts +108 -0
- package/dist-types/GuardDutyClient.d.ts +14 -2
- package/dist-types/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +100 -0
- package/dist-types/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +82 -0
- package/dist-types/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/GetCustomDetectionRuleAssociationCommand.d.ts +96 -0
- package/dist-types/commands/GetCustomDetectionRuleCommand.d.ts +100 -0
- package/dist-types/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +98 -0
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetInvestigationCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareScanCommand.d.ts +1 -2
- package/dist-types/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +94 -0
- package/dist-types/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +93 -0
- package/dist-types/commands/ListCustomDetectionRulesCommand.d.ts +107 -0
- package/dist-types/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +86 -0
- package/dist-types/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +101 -0
- package/dist-types/models/models_0.d.ts +388 -379
- package/dist-types/models/models_1.d.ts +701 -2
- package/dist-types/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomDetectionRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +44 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +228 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomDetectionRuleAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomDetectionRuleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomDetectionRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/models_0.d.ts +118 -117
- package/dist-types/ts3.4/models/models_1.d.ts +187 -1
- package/dist-types/ts3.4/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomDetectionRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCustomDetectionRulesRequest, ListCustomDetectionRulesResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCustomDetectionRulesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCustomDetectionRulesCommandInput extends ListCustomDetectionRulesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCustomDetectionRulesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCustomDetectionRulesCommandOutput extends ListCustomDetectionRulesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCustomDetectionRulesCommand_base: {
|
|
22
|
+
new (input: ListCustomDetectionRulesCommandInput): import("@smithy/core/client").CommandImpl<ListCustomDetectionRulesCommandInput, ListCustomDetectionRulesCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListCustomDetectionRulesCommandInput]): import("@smithy/core/client").CommandImpl<ListCustomDetectionRulesCommandInput, ListCustomDetectionRulesCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns all available custom detection rules in GuardDuty. You can filter the results by data source, severity, tactic, technique, and service.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { GuardDutyClient, ListCustomDetectionRulesCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
32
|
+
* // const { GuardDutyClient, ListCustomDetectionRulesCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
33
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
34
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
35
|
+
* const client = new GuardDutyClient(config);
|
|
36
|
+
* const input = { // ListCustomDetectionRulesRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* Filters: [ // DetectionRuleFilterList
|
|
40
|
+
* { // DetectionRuleFilter
|
|
41
|
+
* Name: "name" || "description" || "dataSource" || "severity" || "tactic" || "technique" || "service", // required
|
|
42
|
+
* Values: [ // DetectionRuleFilterValues // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* Condition: "EQUALS" || "CONTAINS",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListCustomDetectionRulesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListCustomDetectionRulesResponse
|
|
52
|
+
* // Rules: [ // RuleSummaryList // required
|
|
53
|
+
* // { // RuleSummary
|
|
54
|
+
* // RuleId: "STRING_VALUE", // required
|
|
55
|
+
* // Arn: "STRING_VALUE", // required
|
|
56
|
+
* // Name: "STRING_VALUE", // required
|
|
57
|
+
* // Description: "STRING_VALUE", // required
|
|
58
|
+
* // Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW", // required
|
|
59
|
+
* // DataSource: "CloudTrailManagementEvent", // required
|
|
60
|
+
* // Tactic: "STRING_VALUE", // required
|
|
61
|
+
* // Technique: "STRING_VALUE", // required
|
|
62
|
+
* // Service: "STRING_VALUE", // required
|
|
63
|
+
* // Language: "SQL",
|
|
64
|
+
* // Schema: "CloudTrail",
|
|
65
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
66
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // NextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListCustomDetectionRulesCommandInput - {@link ListCustomDetectionRulesCommandInput}
|
|
75
|
+
* @returns {@link ListCustomDetectionRulesCommandOutput}
|
|
76
|
+
* @see {@link ListCustomDetectionRulesCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListCustomDetectionRulesCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>An access denied exception object.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BadRequestException} (client fault)
|
|
84
|
+
* <p>A bad request exception object.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
87
|
+
* <p>An internal server error exception object.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link GuardDutyServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class ListCustomDetectionRulesCommand extends ListCustomDetectionRulesCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: ListCustomDetectionRulesRequest;
|
|
100
|
+
output: ListCustomDetectionRulesResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: ListCustomDetectionRulesCommandInput;
|
|
104
|
+
output: ListCustomDetectionRulesCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateCustomDetectionRuleAssociationRequest, UpdateCustomDetectionRuleAssociationResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateCustomDetectionRuleAssociationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateCustomDetectionRuleAssociationCommandInput extends UpdateCustomDetectionRuleAssociationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateCustomDetectionRuleAssociationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCustomDetectionRuleAssociationCommandOutput extends UpdateCustomDetectionRuleAssociationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateCustomDetectionRuleAssociationCommand_base: {
|
|
22
|
+
new (input: UpdateCustomDetectionRuleAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomDetectionRuleAssociationCommandInput, UpdateCustomDetectionRuleAssociationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateCustomDetectionRuleAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomDetectionRuleAssociationCommandInput, UpdateCustomDetectionRuleAssociationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the mode of an existing custom detection rule association.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { GuardDutyClient, UpdateCustomDetectionRuleAssociationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
32
|
+
* // const { GuardDutyClient, UpdateCustomDetectionRuleAssociationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
33
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
34
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
35
|
+
* const client = new GuardDutyClient(config);
|
|
36
|
+
* const input = { // UpdateCustomDetectionRuleAssociationRequest
|
|
37
|
+
* RuleId: "STRING_VALUE", // required
|
|
38
|
+
* AssociationId: "STRING_VALUE", // required
|
|
39
|
+
* Mode: "LIVE" || "DRY_RUN", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateCustomDetectionRuleAssociationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param UpdateCustomDetectionRuleAssociationCommandInput - {@link UpdateCustomDetectionRuleAssociationCommandInput}
|
|
48
|
+
* @returns {@link UpdateCustomDetectionRuleAssociationCommandOutput}
|
|
49
|
+
* @see {@link UpdateCustomDetectionRuleAssociationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link UpdateCustomDetectionRuleAssociationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>An access denied exception object.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>A bad request exception object.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>A request conflict exception object.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
63
|
+
* <p>An internal server error exception object.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The requested resource can't be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link GuardDutyServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class UpdateCustomDetectionRuleAssociationCommand extends UpdateCustomDetectionRuleAssociationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: UpdateCustomDetectionRuleAssociationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: UpdateCustomDetectionRuleAssociationCommandInput;
|
|
83
|
+
output: UpdateCustomDetectionRuleAssociationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateCustomDetectionRuleOrgConfigurationRequest, UpdateCustomDetectionRuleOrgConfigurationResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateCustomDetectionRuleOrgConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateCustomDetectionRuleOrgConfigurationCommandInput extends UpdateCustomDetectionRuleOrgConfigurationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateCustomDetectionRuleOrgConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCustomDetectionRuleOrgConfigurationCommandOutput extends UpdateCustomDetectionRuleOrgConfigurationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateCustomDetectionRuleOrgConfigurationCommand_base: {
|
|
22
|
+
new (input: UpdateCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomDetectionRuleOrgConfigurationCommandInput, UpdateCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomDetectionRuleOrgConfigurationCommandInput, UpdateCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the organization-level configuration for a custom detection rule, including the mode and include/exclude account lists.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { GuardDutyClient, UpdateCustomDetectionRuleOrgConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
32
|
+
* // const { GuardDutyClient, UpdateCustomDetectionRuleOrgConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
33
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
34
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
35
|
+
* const client = new GuardDutyClient(config);
|
|
36
|
+
* const input = { // UpdateCustomDetectionRuleOrgConfigurationRequest
|
|
37
|
+
* RuleId: "STRING_VALUE", // required
|
|
38
|
+
* Mode: "LIVE" || "DRY_RUN", // required
|
|
39
|
+
* IncludeAccountIds: [ // DetectionRuleAccountIds
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* ExcludeAccountIds: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateCustomDetectionRuleOrgConfigurationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateCustomDetectionRuleOrgConfigurationCommandInput - {@link UpdateCustomDetectionRuleOrgConfigurationCommandInput}
|
|
53
|
+
* @returns {@link UpdateCustomDetectionRuleOrgConfigurationCommandOutput}
|
|
54
|
+
* @see {@link UpdateCustomDetectionRuleOrgConfigurationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateCustomDetectionRuleOrgConfigurationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>An access denied exception object.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestException} (client fault)
|
|
62
|
+
* <p>A bad request exception object.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>A request conflict exception object.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>An internal server error exception object.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The requested resource can't be found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link GuardDutyServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateCustomDetectionRuleOrgConfigurationCommand extends UpdateCustomDetectionRuleOrgConfigurationCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: UpdateCustomDetectionRuleOrgConfigurationRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: UpdateCustomDetectionRuleOrgConfigurationCommandInput;
|
|
88
|
+
output: UpdateCustomDetectionRuleOrgConfigurationCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./AcceptAdministratorInvitationCommand";
|
|
2
2
|
export * from "./AcceptInvitationCommand";
|
|
3
3
|
export * from "./ArchiveFindingsCommand";
|
|
4
|
+
export * from "./CreateCustomDetectionRuleAssociationCommand";
|
|
5
|
+
export * from "./CreateCustomDetectionRuleOrgConfigurationCommand";
|
|
4
6
|
export * from "./CreateDetectorCommand";
|
|
5
7
|
export * from "./CreateFilterCommand";
|
|
6
8
|
export * from "./CreateIPSetCommand";
|
|
@@ -13,6 +15,8 @@ export * from "./CreateThreatEntitySetCommand";
|
|
|
13
15
|
export * from "./CreateThreatIntelSetCommand";
|
|
14
16
|
export * from "./CreateTrustedEntitySetCommand";
|
|
15
17
|
export * from "./DeclineInvitationsCommand";
|
|
18
|
+
export * from "./DeleteCustomDetectionRuleAssociationCommand";
|
|
19
|
+
export * from "./DeleteCustomDetectionRuleOrgConfigurationCommand";
|
|
16
20
|
export * from "./DeleteDetectorCommand";
|
|
17
21
|
export * from "./DeleteFilterCommand";
|
|
18
22
|
export * from "./DeleteIPSetCommand";
|
|
@@ -33,6 +37,9 @@ export * from "./DisassociateMembersCommand";
|
|
|
33
37
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
34
38
|
export * from "./GetAdministratorAccountCommand";
|
|
35
39
|
export * from "./GetCoverageStatisticsCommand";
|
|
40
|
+
export * from "./GetCustomDetectionRuleAssociationCommand";
|
|
41
|
+
export * from "./GetCustomDetectionRuleCommand";
|
|
42
|
+
export * from "./GetCustomDetectionRuleOrgConfigurationCommand";
|
|
36
43
|
export * from "./GetDetectorCommand";
|
|
37
44
|
export * from "./GetFilterCommand";
|
|
38
45
|
export * from "./GetFindingsCommand";
|
|
@@ -54,6 +61,9 @@ export * from "./GetTrustedEntitySetCommand";
|
|
|
54
61
|
export * from "./GetUsageStatisticsCommand";
|
|
55
62
|
export * from "./InviteMembersCommand";
|
|
56
63
|
export * from "./ListCoverageCommand";
|
|
64
|
+
export * from "./ListCustomDetectionRuleAssociationsCommand";
|
|
65
|
+
export * from "./ListCustomDetectionRuleOrgConfigurationsCommand";
|
|
66
|
+
export * from "./ListCustomDetectionRulesCommand";
|
|
57
67
|
export * from "./ListDetectorsCommand";
|
|
58
68
|
export * from "./ListFiltersCommand";
|
|
59
69
|
export * from "./ListFindingsCommand";
|
|
@@ -76,6 +86,8 @@ export * from "./StopMonitoringMembersCommand";
|
|
|
76
86
|
export * from "./TagResourceCommand";
|
|
77
87
|
export * from "./UnarchiveFindingsCommand";
|
|
78
88
|
export * from "./UntagResourceCommand";
|
|
89
|
+
export * from "./UpdateCustomDetectionRuleAssociationCommand";
|
|
90
|
+
export * from "./UpdateCustomDetectionRuleOrgConfigurationCommand";
|
|
79
91
|
export * from "./UpdateDetectorCommand";
|
|
80
92
|
export * from "./UpdateFilterCommand";
|
|
81
93
|
export * from "./UpdateFindingsFeedbackCommand";
|
|
@@ -72,6 +72,18 @@ export declare const ProfileType: {
|
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
74
|
export type ProfileType = (typeof ProfileType)[keyof typeof ProfileType];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const AssociationMode: {
|
|
80
|
+
readonly DRY_RUN: "DRY_RUN";
|
|
81
|
+
readonly LIVE: "LIVE";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type AssociationMode = (typeof AssociationMode)[keyof typeof AssociationMode];
|
|
75
87
|
/**
|
|
76
88
|
* @public
|
|
77
89
|
* @enum
|
|
@@ -772,6 +784,73 @@ export declare const SignalType: {
|
|
|
772
784
|
* @public
|
|
773
785
|
*/
|
|
774
786
|
export type SignalType = (typeof SignalType)[keyof typeof SignalType];
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
* @enum
|
|
790
|
+
*/
|
|
791
|
+
export declare const DetectionRuleConfigurationStatus: {
|
|
792
|
+
readonly ACTIVE: "ACTIVE";
|
|
793
|
+
readonly FAILED: "FAILED";
|
|
794
|
+
readonly PROCESSING: "PROCESSING";
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
799
|
+
export type DetectionRuleConfigurationStatus = (typeof DetectionRuleConfigurationStatus)[keyof typeof DetectionRuleConfigurationStatus];
|
|
800
|
+
/**
|
|
801
|
+
* @public
|
|
802
|
+
* @enum
|
|
803
|
+
*/
|
|
804
|
+
export declare const DetectionRuleDataSource: {
|
|
805
|
+
readonly CLOUDTRAIL_MANAGEMENT_EVENT: "CloudTrailManagementEvent";
|
|
806
|
+
};
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
*/
|
|
810
|
+
export type DetectionRuleDataSource = (typeof DetectionRuleDataSource)[keyof typeof DetectionRuleDataSource];
|
|
811
|
+
/**
|
|
812
|
+
* @public
|
|
813
|
+
* @enum
|
|
814
|
+
*/
|
|
815
|
+
export declare const DetectionRuleFilterCondition: {
|
|
816
|
+
readonly CONTAINS: "CONTAINS";
|
|
817
|
+
readonly EQUALS: "EQUALS";
|
|
818
|
+
};
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
export type DetectionRuleFilterCondition = (typeof DetectionRuleFilterCondition)[keyof typeof DetectionRuleFilterCondition];
|
|
823
|
+
/**
|
|
824
|
+
* @public
|
|
825
|
+
* @enum
|
|
826
|
+
*/
|
|
827
|
+
export declare const FilterFieldName: {
|
|
828
|
+
readonly DATA_SOURCE: "dataSource";
|
|
829
|
+
readonly DESCRIPTION: "description";
|
|
830
|
+
readonly NAME: "name";
|
|
831
|
+
readonly SERVICE: "service";
|
|
832
|
+
readonly SEVERITY: "severity";
|
|
833
|
+
readonly TACTIC: "tactic";
|
|
834
|
+
readonly TECHNIQUE: "technique";
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
export type FilterFieldName = (typeof FilterFieldName)[keyof typeof FilterFieldName];
|
|
840
|
+
/**
|
|
841
|
+
* @public
|
|
842
|
+
* @enum
|
|
843
|
+
*/
|
|
844
|
+
export declare const DetectionRuleSeverity: {
|
|
845
|
+
readonly CRITICAL: "CRITICAL";
|
|
846
|
+
readonly HIGH: "HIGH";
|
|
847
|
+
readonly LOW: "LOW";
|
|
848
|
+
readonly MEDIUM: "MEDIUM";
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
export type DetectionRuleSeverity = (typeof DetectionRuleSeverity)[keyof typeof DetectionRuleSeverity];
|
|
775
854
|
/**
|
|
776
855
|
* @public
|
|
777
856
|
* @enum
|
|
@@ -878,6 +957,28 @@ export declare const FindingStatisticType: {
|
|
|
878
957
|
* @public
|
|
879
958
|
*/
|
|
880
959
|
export type FindingStatisticType = (typeof FindingStatisticType)[keyof typeof FindingStatisticType];
|
|
960
|
+
/**
|
|
961
|
+
* @public
|
|
962
|
+
* @enum
|
|
963
|
+
*/
|
|
964
|
+
export declare const RuleLanguage: {
|
|
965
|
+
readonly SQL: "SQL";
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* @public
|
|
969
|
+
*/
|
|
970
|
+
export type RuleLanguage = (typeof RuleLanguage)[keyof typeof RuleLanguage];
|
|
971
|
+
/**
|
|
972
|
+
* @public
|
|
973
|
+
* @enum
|
|
974
|
+
*/
|
|
975
|
+
export declare const RuleSchema: {
|
|
976
|
+
readonly CLOUD_TRAIL: "CloudTrail";
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
export type RuleSchema = (typeof RuleSchema)[keyof typeof RuleSchema];
|
|
881
982
|
/**
|
|
882
983
|
* @public
|
|
883
984
|
* @enum
|