@aws-sdk/client-securityhub 3.350.0 → 3.352.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 +40 -0
- package/dist-cjs/SecurityHub.js +10 -0
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
- package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/models/models_1.js +1 -44
- package/dist-cjs/models/models_2.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +553 -3
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/models/models_1.js +0 -43
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -0
- package/dist-types/SecurityHub.d.ts +35 -0
- package/dist-types/SecurityHubClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +103 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +288 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +282 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +270 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +6010 -5729
- package/dist-types/models/models_1.d.ts +645 -439
- package/dist-types/models/models_2.d.ts +423 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -136
- package/dist-types/ts3.4/models/models_1.d.ts +145 -123
- package/dist-types/ts3.4/models/models_2.d.ts +112 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
package/dist-es/SecurityHub.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AcceptAdministratorInvitationCommand, } from "./commands/AcceptAdministratorInvitationCommand";
|
|
3
3
|
import { AcceptInvitationCommand, } from "./commands/AcceptInvitationCommand";
|
|
4
|
+
import { BatchDeleteAutomationRulesCommand, } from "./commands/BatchDeleteAutomationRulesCommand";
|
|
4
5
|
import { BatchDisableStandardsCommand, } from "./commands/BatchDisableStandardsCommand";
|
|
5
6
|
import { BatchEnableStandardsCommand, } from "./commands/BatchEnableStandardsCommand";
|
|
7
|
+
import { BatchGetAutomationRulesCommand, } from "./commands/BatchGetAutomationRulesCommand";
|
|
6
8
|
import { BatchGetSecurityControlsCommand, } from "./commands/BatchGetSecurityControlsCommand";
|
|
7
9
|
import { BatchGetStandardsControlAssociationsCommand, } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
8
10
|
import { BatchImportFindingsCommand, } from "./commands/BatchImportFindingsCommand";
|
|
11
|
+
import { BatchUpdateAutomationRulesCommand, } from "./commands/BatchUpdateAutomationRulesCommand";
|
|
9
12
|
import { BatchUpdateFindingsCommand, } from "./commands/BatchUpdateFindingsCommand";
|
|
10
13
|
import { BatchUpdateStandardsControlAssociationsCommand, } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
11
14
|
import { CreateActionTargetCommand, } from "./commands/CreateActionTargetCommand";
|
|
15
|
+
import { CreateAutomationRuleCommand, } from "./commands/CreateAutomationRuleCommand";
|
|
12
16
|
import { CreateFindingAggregatorCommand, } from "./commands/CreateFindingAggregatorCommand";
|
|
13
17
|
import { CreateInsightCommand, } from "./commands/CreateInsightCommand";
|
|
14
18
|
import { CreateMembersCommand, } from "./commands/CreateMembersCommand";
|
|
@@ -44,6 +48,7 @@ import { GetInvitationsCountCommand, } from "./commands/GetInvitationsCountComma
|
|
|
44
48
|
import { GetMasterAccountCommand, } from "./commands/GetMasterAccountCommand";
|
|
45
49
|
import { GetMembersCommand } from "./commands/GetMembersCommand";
|
|
46
50
|
import { InviteMembersCommand, } from "./commands/InviteMembersCommand";
|
|
51
|
+
import { ListAutomationRulesCommand, } from "./commands/ListAutomationRulesCommand";
|
|
47
52
|
import { ListEnabledProductsForImportCommand, } from "./commands/ListEnabledProductsForImportCommand";
|
|
48
53
|
import { ListFindingAggregatorsCommand, } from "./commands/ListFindingAggregatorsCommand";
|
|
49
54
|
import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
|
|
@@ -65,14 +70,18 @@ import { SecurityHubClient } from "./SecurityHubClient";
|
|
|
65
70
|
const commands = {
|
|
66
71
|
AcceptAdministratorInvitationCommand,
|
|
67
72
|
AcceptInvitationCommand,
|
|
73
|
+
BatchDeleteAutomationRulesCommand,
|
|
68
74
|
BatchDisableStandardsCommand,
|
|
69
75
|
BatchEnableStandardsCommand,
|
|
76
|
+
BatchGetAutomationRulesCommand,
|
|
70
77
|
BatchGetSecurityControlsCommand,
|
|
71
78
|
BatchGetStandardsControlAssociationsCommand,
|
|
72
79
|
BatchImportFindingsCommand,
|
|
80
|
+
BatchUpdateAutomationRulesCommand,
|
|
73
81
|
BatchUpdateFindingsCommand,
|
|
74
82
|
BatchUpdateStandardsControlAssociationsCommand,
|
|
75
83
|
CreateActionTargetCommand,
|
|
84
|
+
CreateAutomationRuleCommand,
|
|
76
85
|
CreateFindingAggregatorCommand,
|
|
77
86
|
CreateInsightCommand,
|
|
78
87
|
CreateMembersCommand,
|
|
@@ -108,6 +117,7 @@ const commands = {
|
|
|
108
117
|
GetMasterAccountCommand,
|
|
109
118
|
GetMembersCommand,
|
|
110
119
|
InviteMembersCommand,
|
|
120
|
+
ListAutomationRulesCommand,
|
|
111
121
|
ListEnabledProductsForImportCommand,
|
|
112
122
|
ListFindingAggregatorsCommand,
|
|
113
123
|
ListInvitationsCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_BatchDeleteAutomationRulesCommand, se_BatchDeleteAutomationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchDeleteAutomationRulesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchDeleteAutomationRulesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityHubClient";
|
|
25
|
+
const commandName = "BatchDeleteAutomationRulesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_BatchDeleteAutomationRulesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_BatchDeleteAutomationRulesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_BatchGetAutomationRulesCommand, se_BatchGetAutomationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchGetAutomationRulesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetAutomationRulesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityHubClient";
|
|
25
|
+
const commandName = "BatchGetAutomationRulesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_BatchGetAutomationRulesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_BatchGetAutomationRulesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_BatchUpdateAutomationRulesCommand, se_BatchUpdateAutomationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchUpdateAutomationRulesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchUpdateAutomationRulesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityHubClient";
|
|
25
|
+
const commandName = "BatchUpdateAutomationRulesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_BatchUpdateAutomationRulesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_BatchUpdateAutomationRulesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateAutomationRuleCommand, se_CreateAutomationRuleCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateAutomationRuleCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAutomationRuleCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityHubClient";
|
|
25
|
+
const commandName = "CreateAutomationRuleCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateAutomationRuleCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateAutomationRuleCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListAutomationRulesCommand, se_ListAutomationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListAutomationRulesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAutomationRulesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SecurityHubClient";
|
|
25
|
+
const commandName = "ListAutomationRulesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListAutomationRulesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListAutomationRulesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export * from "./AcceptAdministratorInvitationCommand";
|
|
2
2
|
export * from "./AcceptInvitationCommand";
|
|
3
|
+
export * from "./BatchDeleteAutomationRulesCommand";
|
|
3
4
|
export * from "./BatchDisableStandardsCommand";
|
|
4
5
|
export * from "./BatchEnableStandardsCommand";
|
|
6
|
+
export * from "./BatchGetAutomationRulesCommand";
|
|
5
7
|
export * from "./BatchGetSecurityControlsCommand";
|
|
6
8
|
export * from "./BatchGetStandardsControlAssociationsCommand";
|
|
7
9
|
export * from "./BatchImportFindingsCommand";
|
|
10
|
+
export * from "./BatchUpdateAutomationRulesCommand";
|
|
8
11
|
export * from "./BatchUpdateFindingsCommand";
|
|
9
12
|
export * from "./BatchUpdateStandardsControlAssociationsCommand";
|
|
10
13
|
export * from "./CreateActionTargetCommand";
|
|
14
|
+
export * from "./CreateAutomationRuleCommand";
|
|
11
15
|
export * from "./CreateFindingAggregatorCommand";
|
|
12
16
|
export * from "./CreateInsightCommand";
|
|
13
17
|
export * from "./CreateMembersCommand";
|
|
@@ -43,6 +47,7 @@ export * from "./GetInvitationsCountCommand";
|
|
|
43
47
|
export * from "./GetMasterAccountCommand";
|
|
44
48
|
export * from "./GetMembersCommand";
|
|
45
49
|
export * from "./InviteMembersCommand";
|
|
50
|
+
export * from "./ListAutomationRulesCommand";
|
|
46
51
|
export * from "./ListEnabledProductsForImportCommand";
|
|
47
52
|
export * from "./ListFindingAggregatorsCommand";
|
|
48
53
|
export * from "./ListInvitationsCommand";
|
|
@@ -83,6 +83,28 @@ export class AccessDeniedException extends __BaseException {
|
|
|
83
83
|
this.Code = opts.Code;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
export const SeverityLabel = {
|
|
87
|
+
CRITICAL: "CRITICAL",
|
|
88
|
+
HIGH: "HIGH",
|
|
89
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
90
|
+
LOW: "LOW",
|
|
91
|
+
MEDIUM: "MEDIUM",
|
|
92
|
+
};
|
|
93
|
+
export const VerificationState = {
|
|
94
|
+
BENIGN_POSITIVE: "BENIGN_POSITIVE",
|
|
95
|
+
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
96
|
+
TRUE_POSITIVE: "TRUE_POSITIVE",
|
|
97
|
+
UNKNOWN: "UNKNOWN",
|
|
98
|
+
};
|
|
99
|
+
export const WorkflowStatus = {
|
|
100
|
+
NEW: "NEW",
|
|
101
|
+
NOTIFIED: "NOTIFIED",
|
|
102
|
+
RESOLVED: "RESOLVED",
|
|
103
|
+
SUPPRESSED: "SUPPRESSED",
|
|
104
|
+
};
|
|
105
|
+
export const AutomationRulesActionType = {
|
|
106
|
+
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
|
|
107
|
+
};
|
|
86
108
|
export const AdminStatus = {
|
|
87
109
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
88
110
|
ENABLED: "ENABLED",
|
|
@@ -95,3 +117,20 @@ export const AutoEnableStandards = {
|
|
|
95
117
|
DEFAULT: "DEFAULT",
|
|
96
118
|
NONE: "NONE",
|
|
97
119
|
};
|
|
120
|
+
export const StringFilterComparison = {
|
|
121
|
+
EQUALS: "EQUALS",
|
|
122
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
123
|
+
PREFIX: "PREFIX",
|
|
124
|
+
PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS",
|
|
125
|
+
};
|
|
126
|
+
export const DateRangeUnit = {
|
|
127
|
+
DAYS: "DAYS",
|
|
128
|
+
};
|
|
129
|
+
export const MapFilterComparison = {
|
|
130
|
+
EQUALS: "EQUALS",
|
|
131
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
132
|
+
};
|
|
133
|
+
export const RuleStatus = {
|
|
134
|
+
DISABLED: "DISABLED",
|
|
135
|
+
ENABLED: "ENABLED",
|
|
136
|
+
};
|
|
@@ -12,13 +12,6 @@ export const ComplianceStatus = {
|
|
|
12
12
|
PASSED: "PASSED",
|
|
13
13
|
WARNING: "WARNING",
|
|
14
14
|
};
|
|
15
|
-
export const SeverityLabel = {
|
|
16
|
-
CRITICAL: "CRITICAL",
|
|
17
|
-
HIGH: "HIGH",
|
|
18
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
19
|
-
LOW: "LOW",
|
|
20
|
-
MEDIUM: "MEDIUM",
|
|
21
|
-
};
|
|
22
15
|
export const MalwareState = {
|
|
23
16
|
OBSERVED: "OBSERVED",
|
|
24
17
|
REMOVAL_FAILED: "REMOVAL_FAILED",
|
|
@@ -75,23 +68,11 @@ export const ThreatIntelIndicatorType = {
|
|
|
75
68
|
PROCESS: "PROCESS",
|
|
76
69
|
URL: "URL",
|
|
77
70
|
};
|
|
78
|
-
export const VerificationState = {
|
|
79
|
-
BENIGN_POSITIVE: "BENIGN_POSITIVE",
|
|
80
|
-
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
81
|
-
TRUE_POSITIVE: "TRUE_POSITIVE",
|
|
82
|
-
UNKNOWN: "UNKNOWN",
|
|
83
|
-
};
|
|
84
71
|
export const VulnerabilityFixAvailable = {
|
|
85
72
|
NO: "NO",
|
|
86
73
|
PARTIAL: "PARTIAL",
|
|
87
74
|
YES: "YES",
|
|
88
75
|
};
|
|
89
|
-
export const WorkflowStatus = {
|
|
90
|
-
NEW: "NEW",
|
|
91
|
-
NOTIFIED: "NOTIFIED",
|
|
92
|
-
RESOLVED: "RESOLVED",
|
|
93
|
-
SUPPRESSED: "SUPPRESSED",
|
|
94
|
-
};
|
|
95
76
|
export const WorkflowState = {
|
|
96
77
|
ASSIGNED: "ASSIGNED",
|
|
97
78
|
DEFERRED: "DEFERRED",
|
|
@@ -99,27 +80,3 @@ export const WorkflowState = {
|
|
|
99
80
|
NEW: "NEW",
|
|
100
81
|
RESOLVED: "RESOLVED",
|
|
101
82
|
};
|
|
102
|
-
export const StringFilterComparison = {
|
|
103
|
-
EQUALS: "EQUALS",
|
|
104
|
-
NOT_EQUALS: "NOT_EQUALS",
|
|
105
|
-
PREFIX: "PREFIX",
|
|
106
|
-
PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS",
|
|
107
|
-
};
|
|
108
|
-
export const DateRangeUnit = {
|
|
109
|
-
DAYS: "DAYS",
|
|
110
|
-
};
|
|
111
|
-
export const MapFilterComparison = {
|
|
112
|
-
EQUALS: "EQUALS",
|
|
113
|
-
NOT_EQUALS: "NOT_EQUALS",
|
|
114
|
-
};
|
|
115
|
-
export const StandardsStatus = {
|
|
116
|
-
DELETING: "DELETING",
|
|
117
|
-
FAILED: "FAILED",
|
|
118
|
-
INCOMPLETE: "INCOMPLETE",
|
|
119
|
-
PENDING: "PENDING",
|
|
120
|
-
READY: "READY",
|
|
121
|
-
};
|
|
122
|
-
export const StatusReasonCode = {
|
|
123
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
124
|
-
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
125
|
-
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
|
+
export const StandardsStatus = {
|
|
3
|
+
DELETING: "DELETING",
|
|
4
|
+
FAILED: "FAILED",
|
|
5
|
+
INCOMPLETE: "INCOMPLETE",
|
|
6
|
+
PENDING: "PENDING",
|
|
7
|
+
READY: "READY",
|
|
8
|
+
};
|
|
9
|
+
export const StatusReasonCode = {
|
|
10
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
11
|
+
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
12
|
+
};
|
|
2
13
|
export const ControlStatus = {
|
|
3
14
|
DISABLED: "DISABLED",
|
|
4
15
|
ENABLED: "ENABLED",
|