@aws-sdk/client-securityhub 3.1080.0 → 3.1081.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 +49 -0
- package/dist-cjs/index.js +459 -51
- package/dist-es/SecurityHub.js +14 -0
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/DisableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/EnableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/GetConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +96 -0
- package/dist-es/schemas/schemas_0.js +284 -50
- package/dist-types/SecurityHub.d.ts +50 -0
- package/dist-types/SecurityHubClient.d.ts +9 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +11 -1
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +151 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +14 -1
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +111 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -2
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +6 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DisableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +165 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +21 -1
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +5 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetFindingsCommand.d.ts +14 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetResourcesV2Command.d.ts +10 -4
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +155 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +34 -5
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/UpdateConnectorCommand.d.ts +144 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +16 -2
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/models/models_2.d.ts +889 -635
- package/dist-types/models/models_3.d.ts +625 -4
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +120 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/EnableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +250 -152
- package/dist-types/ts3.4/models/models_3.d.ts +173 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +3 -3
|
@@ -45,7 +45,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
45
45
|
* { // CompositeFilter
|
|
46
46
|
* StringFilters: [ // OcsfStringFilterList
|
|
47
47
|
* { // OcsfStringFilter
|
|
48
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
48
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.name" || "resources.owner.account.uid" || "resources.owner.org.uid" || "resources.owner.account.name" || "resources.provider" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
49
49
|
* Filter: { // StringFilter
|
|
50
50
|
* Value: "STRING_VALUE",
|
|
51
51
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -108,7 +108,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
108
108
|
* {
|
|
109
109
|
* StringFilters: [
|
|
110
110
|
* {
|
|
111
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
111
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.name" || "resources.owner.account.uid" || "resources.owner.org.uid" || "resources.owner.account.name" || "resources.provider" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
112
112
|
* Filter: {
|
|
113
113
|
* Value: "STRING_VALUE",
|
|
114
114
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateConnectorRequest, UpdateConnectorResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateConnectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateConnectorCommandInput extends UpdateConnectorRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateConnectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateConnectorCommandOutput extends UpdateConnectorResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateConnectorCommand_base: {
|
|
22
|
+
new (input: UpdateConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateConnectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates a CSPM connector's configuration, such as the scope or regions for the connected cloud provider.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityHubClient, UpdateConnectorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
32
|
+
* // const { SecurityHubClient, UpdateConnectorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
33
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
34
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
35
|
+
* const client = new SecurityHubClient(config);
|
|
36
|
+
* const input = { // UpdateConnectorRequest
|
|
37
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* Provider: { // CspmProviderUpdateConfiguration Union: only one key present
|
|
40
|
+
* Azure: { // AzureUpdateConfiguration
|
|
41
|
+
* ScopeConfiguration: { // AzureScopeConfiguration
|
|
42
|
+
* ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
43
|
+
* ScopeValues: [ // ScopeValueList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* AzureRegions: [ // AzureRegionList // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
53
|
+
* const command = new UpdateConnectorCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // UpdateConnectorResponse
|
|
56
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
57
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param UpdateConnectorCommandInput - {@link UpdateConnectorCommandInput}
|
|
63
|
+
* @returns {@link UpdateConnectorCommandOutput}
|
|
64
|
+
* @see {@link UpdateConnectorCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link UpdateConnectorCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>
|
|
76
|
+
* The request has failed due to an internal failure of the service.
|
|
77
|
+
* </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
80
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>
|
|
87
|
+
* The limit on the number of requests per second was exceeded.
|
|
88
|
+
* </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link SecurityHubServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @example To update a CSPM connector
|
|
98
|
+
* ```javascript
|
|
99
|
+
* // This operation updates the configuration of a CSPM connector.
|
|
100
|
+
* const input = {
|
|
101
|
+
* ConnectorId: "cspm-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
102
|
+
* Description: "Updated connector description",
|
|
103
|
+
* Provider: {
|
|
104
|
+
* Azure: {
|
|
105
|
+
* AzureRegions: [
|
|
106
|
+
* "eastus",
|
|
107
|
+
* "westus2",
|
|
108
|
+
* "northeurope"
|
|
109
|
+
* ],
|
|
110
|
+
* ScopeConfiguration: {
|
|
111
|
+
* ScopeType: "SUBSCRIPTION",
|
|
112
|
+
* ScopeValues: [
|
|
113
|
+
* "sub-1234-5678-abcd",
|
|
114
|
+
* "sub-9012-3456-efgh"
|
|
115
|
+
* ]
|
|
116
|
+
* }
|
|
117
|
+
* }
|
|
118
|
+
* }
|
|
119
|
+
* };
|
|
120
|
+
* const command = new UpdateConnectorCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response is
|
|
123
|
+
* {
|
|
124
|
+
* ConnectorStatus: "CONNECTED",
|
|
125
|
+
* EnablementStatus: "PENDING_UPDATE"
|
|
126
|
+
* }
|
|
127
|
+
* *\/
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class UpdateConnectorCommand extends UpdateConnectorCommand_base {
|
|
133
|
+
/** @internal type navigation helper, not in runtime. */
|
|
134
|
+
protected static __types: {
|
|
135
|
+
api: {
|
|
136
|
+
input: UpdateConnectorRequest;
|
|
137
|
+
output: UpdateConnectorResponse;
|
|
138
|
+
};
|
|
139
|
+
sdk: {
|
|
140
|
+
input: UpdateConnectorCommandInput;
|
|
141
|
+
output: UpdateConnectorCommandOutput;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}
|
|
@@ -43,11 +43,25 @@ declare const UpdateConnectorV2Command_base: {
|
|
|
43
43
|
* ServiceNow: { // ServiceNowUpdateConfiguration
|
|
44
44
|
* SecretArn: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
+
* Azure: { // AzureUpdateConfiguration
|
|
47
|
+
* ScopeConfiguration: { // AzureScopeConfiguration
|
|
48
|
+
* ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
49
|
+
* ScopeValues: [ // ScopeValueList
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* AzureRegions: [ // AzureRegionList // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
46
57
|
* },
|
|
47
58
|
* };
|
|
48
59
|
* const command = new UpdateConnectorV2Command(input);
|
|
49
60
|
* const response = await client.send(command);
|
|
50
|
-
* // {
|
|
61
|
+
* // { // UpdateConnectorV2Response
|
|
62
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
63
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
64
|
+
* // };
|
|
51
65
|
*
|
|
52
66
|
* ```
|
|
53
67
|
*
|
|
@@ -90,7 +104,7 @@ export declare class UpdateConnectorV2Command extends UpdateConnectorV2Command_b
|
|
|
90
104
|
protected static __types: {
|
|
91
105
|
api: {
|
|
92
106
|
input: UpdateConnectorV2Request;
|
|
93
|
-
output:
|
|
107
|
+
output: UpdateConnectorV2Response;
|
|
94
108
|
};
|
|
95
109
|
sdk: {
|
|
96
110
|
input: UpdateConnectorV2CommandInput;
|
|
@@ -314,6 +314,9 @@ declare const UpdateFindingsCommand_base: {
|
|
|
314
314
|
* AwsAccountName: "<StringFilterList>",
|
|
315
315
|
* ResourceApplicationName: "<StringFilterList>",
|
|
316
316
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
317
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
318
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
319
|
+
* ResourceProvider: "<StringFilterList>",
|
|
317
320
|
* },
|
|
318
321
|
* Note: { // NoteUpdate
|
|
319
322
|
* Text: "STRING_VALUE", // required
|
|
@@ -308,6 +308,9 @@ declare const UpdateInsightCommand_base: {
|
|
|
308
308
|
* AwsAccountName: "<StringFilterList>",
|
|
309
309
|
* ResourceApplicationName: "<StringFilterList>",
|
|
310
310
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
311
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
312
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
313
|
+
* ResourceProvider: "<StringFilterList>",
|
|
311
314
|
* },
|
|
312
315
|
* GroupByAttribute: "STRING_VALUE",
|
|
313
316
|
* };
|
|
@@ -17,6 +17,7 @@ export * from "./CreateAggregatorV2Command";
|
|
|
17
17
|
export * from "./CreateAutomationRuleCommand";
|
|
18
18
|
export * from "./CreateAutomationRuleV2Command";
|
|
19
19
|
export * from "./CreateConfigurationPolicyCommand";
|
|
20
|
+
export * from "./CreateConnectorCommand";
|
|
20
21
|
export * from "./CreateConnectorV2Command";
|
|
21
22
|
export * from "./CreateFindingAggregatorCommand";
|
|
22
23
|
export * from "./CreateInsightCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./DeleteActionTargetCommand";
|
|
|
27
28
|
export * from "./DeleteAggregatorV2Command";
|
|
28
29
|
export * from "./DeleteAutomationRuleV2Command";
|
|
29
30
|
export * from "./DeleteConfigurationPolicyCommand";
|
|
31
|
+
export * from "./DeleteConnectorCommand";
|
|
30
32
|
export * from "./DeleteConnectorV2Command";
|
|
31
33
|
export * from "./DeleteFindingAggregatorCommand";
|
|
32
34
|
export * from "./DeleteInsightCommand";
|
|
@@ -43,6 +45,7 @@ export * from "./DescribeStandardsControlsCommand";
|
|
|
43
45
|
export * from "./DisableImportFindingsForProductCommand";
|
|
44
46
|
export * from "./DisableOrganizationAdminAccountCommand";
|
|
45
47
|
export * from "./DisableSecurityHubCommand";
|
|
48
|
+
export * from "./DisableSecurityHubFeatureV2Command";
|
|
46
49
|
export * from "./DisableSecurityHubV2Command";
|
|
47
50
|
export * from "./DisassociateFromAdministratorAccountCommand";
|
|
48
51
|
export * from "./DisassociateFromMasterAccountCommand";
|
|
@@ -50,6 +53,7 @@ export * from "./DisassociateMembersCommand";
|
|
|
50
53
|
export * from "./EnableImportFindingsForProductCommand";
|
|
51
54
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
52
55
|
export * from "./EnableSecurityHubCommand";
|
|
56
|
+
export * from "./EnableSecurityHubFeatureV2Command";
|
|
53
57
|
export * from "./EnableSecurityHubV2Command";
|
|
54
58
|
export * from "./GenerateRecommendedPolicyV2Command";
|
|
55
59
|
export * from "./GetAdministratorAccountCommand";
|
|
@@ -57,6 +61,7 @@ export * from "./GetAggregatorV2Command";
|
|
|
57
61
|
export * from "./GetAutomationRuleV2Command";
|
|
58
62
|
export * from "./GetConfigurationPolicyAssociationCommand";
|
|
59
63
|
export * from "./GetConfigurationPolicyCommand";
|
|
64
|
+
export * from "./GetConnectorCommand";
|
|
60
65
|
export * from "./GetConnectorV2Command";
|
|
61
66
|
export * from "./GetEnabledStandardsCommand";
|
|
62
67
|
export * from "./GetFindingAggregatorCommand";
|
|
@@ -81,6 +86,7 @@ export * from "./ListAutomationRulesCommand";
|
|
|
81
86
|
export * from "./ListAutomationRulesV2Command";
|
|
82
87
|
export * from "./ListConfigurationPoliciesCommand";
|
|
83
88
|
export * from "./ListConfigurationPolicyAssociationsCommand";
|
|
89
|
+
export * from "./ListConnectorsCommand";
|
|
84
90
|
export * from "./ListConnectorsV2Command";
|
|
85
91
|
export * from "./ListEnabledProductsForImportCommand";
|
|
86
92
|
export * from "./ListFindingAggregatorsCommand";
|
|
@@ -99,6 +105,7 @@ export * from "./UpdateActionTargetCommand";
|
|
|
99
105
|
export * from "./UpdateAggregatorV2Command";
|
|
100
106
|
export * from "./UpdateAutomationRuleV2Command";
|
|
101
107
|
export * from "./UpdateConfigurationPolicyCommand";
|
|
108
|
+
export * from "./UpdateConnectorCommand";
|
|
102
109
|
export * from "./UpdateConnectorV2Command";
|
|
103
110
|
export * from "./UpdateFindingAggregatorCommand";
|
|
104
111
|
export * from "./UpdateFindingsCommand";
|
|
@@ -347,11 +347,26 @@ export declare const Partition: {
|
|
|
347
347
|
readonly AWS: "aws";
|
|
348
348
|
readonly AWS_CN: "aws-cn";
|
|
349
349
|
readonly AWS_US_GOV: "aws-us-gov";
|
|
350
|
+
readonly AWS_US_ISO: "aws-us-iso";
|
|
351
|
+
readonly AWS_US_ISO_B: "aws-us-iso-b";
|
|
352
|
+
readonly AZURE_CLOUD: "AzureCloud";
|
|
350
353
|
};
|
|
351
354
|
/**
|
|
352
355
|
* @public
|
|
353
356
|
*/
|
|
354
357
|
export type Partition = (typeof Partition)[keyof typeof Partition];
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
* @enum
|
|
361
|
+
*/
|
|
362
|
+
export declare const CloudProviderName: {
|
|
363
|
+
readonly AWS: "AWS";
|
|
364
|
+
readonly AZURE: "Azure";
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export type CloudProviderName = (typeof CloudProviderName)[keyof typeof CloudProviderName];
|
|
355
370
|
/**
|
|
356
371
|
* @public
|
|
357
372
|
* @enum
|
|
@@ -429,6 +444,30 @@ export declare const WorkflowState: {
|
|
|
429
444
|
* @public
|
|
430
445
|
*/
|
|
431
446
|
export type WorkflowState = (typeof WorkflowState)[keyof typeof WorkflowState];
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
* @enum
|
|
450
|
+
*/
|
|
451
|
+
export declare const ScopeType: {
|
|
452
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
453
|
+
readonly TENANT: "TENANT";
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
|
|
459
|
+
/**
|
|
460
|
+
* @public
|
|
461
|
+
* @enum
|
|
462
|
+
*/
|
|
463
|
+
export declare const StandardsProvider: {
|
|
464
|
+
readonly AWS: "AWS";
|
|
465
|
+
readonly Azure: "Azure";
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* @public
|
|
469
|
+
*/
|
|
470
|
+
export type StandardsProvider = (typeof StandardsProvider)[keyof typeof StandardsProvider];
|
|
432
471
|
/**
|
|
433
472
|
* @public
|
|
434
473
|
* @enum
|
|
@@ -464,6 +503,7 @@ export declare const StatusReasonCode: {
|
|
|
464
503
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
465
504
|
readonly MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED";
|
|
466
505
|
readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
|
|
506
|
+
readonly NO_AVAILABLE_MULTICLOUD_CONNECTOR: "NO_AVAILABLE_MULTICLOUD_CONNECTOR";
|
|
467
507
|
};
|
|
468
508
|
/**
|
|
469
509
|
* @public
|
|
@@ -494,6 +534,18 @@ export declare const ParameterValueType: {
|
|
|
494
534
|
* @public
|
|
495
535
|
*/
|
|
496
536
|
export type ParameterValueType = (typeof ParameterValueType)[keyof typeof ParameterValueType];
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
* @enum
|
|
540
|
+
*/
|
|
541
|
+
export declare const SecurityControlsProvider: {
|
|
542
|
+
readonly AWS: "AWS";
|
|
543
|
+
readonly Azure: "Azure";
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
export type SecurityControlsProvider = (typeof SecurityControlsProvider)[keyof typeof SecurityControlsProvider];
|
|
497
549
|
/**
|
|
498
550
|
* @public
|
|
499
551
|
* @enum
|
|
@@ -703,6 +755,11 @@ export declare const OcsfStringField: {
|
|
|
703
755
|
readonly RESOURCES_IMAGE_REGISTRY_UID: "resources.image.registry_uid";
|
|
704
756
|
readonly RESOURCES_IMAGE_REPOSITORY_NAME: "resources.image.repository_name";
|
|
705
757
|
readonly RESOURCES_IMAGE_UID: "resources.image.uid";
|
|
758
|
+
readonly RESOURCES_NAME: "resources.name";
|
|
759
|
+
readonly RESOURCES_OWNER_ACCOUNT_NAME: "resources.owner.account.name";
|
|
760
|
+
readonly RESOURCES_OWNER_ACCOUNT_UID: "resources.owner.account.uid";
|
|
761
|
+
readonly RESOURCES_OWNER_ORG_UID: "resources.owner.org.uid";
|
|
762
|
+
readonly RESOURCES_PROVIDER: "resources.provider";
|
|
706
763
|
readonly RESOURCES_REGION: "resources.region";
|
|
707
764
|
readonly RESOURCES_SUBNET_INFO_UID: "resources.subnet_info.uid";
|
|
708
765
|
readonly RESOURCES_TYPE: "resources.type";
|
|
@@ -739,6 +796,7 @@ export type ConnectorAuthStatus = (typeof ConnectorAuthStatus)[keyof typeof Conn
|
|
|
739
796
|
* @enum
|
|
740
797
|
*/
|
|
741
798
|
export declare const ConnectorProviderName: {
|
|
799
|
+
readonly AZURE: "AZURE";
|
|
742
800
|
readonly JIRA_CLOUD: "JIRA_CLOUD";
|
|
743
801
|
readonly SERVICENOW: "SERVICENOW";
|
|
744
802
|
};
|
|
@@ -752,14 +810,33 @@ export type ConnectorProviderName = (typeof ConnectorProviderName)[keyof typeof
|
|
|
752
810
|
*/
|
|
753
811
|
export declare const ConnectorStatus: {
|
|
754
812
|
readonly CONNECTED: "CONNECTED";
|
|
813
|
+
readonly DEGRADED: "DEGRADED";
|
|
755
814
|
readonly FAILED_TO_CONNECT: "FAILED_TO_CONNECT";
|
|
756
815
|
readonly PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION";
|
|
757
816
|
readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
|
|
817
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
758
818
|
};
|
|
759
819
|
/**
|
|
760
820
|
* @public
|
|
761
821
|
*/
|
|
762
822
|
export type ConnectorStatus = (typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
823
|
+
/**
|
|
824
|
+
* @public
|
|
825
|
+
* @enum
|
|
826
|
+
*/
|
|
827
|
+
export declare const EnablementStatus: {
|
|
828
|
+
readonly ENABLED: "ENABLED";
|
|
829
|
+
readonly FAILED_TO_DELETE: "FAILED_TO_DELETE";
|
|
830
|
+
readonly FAILED_TO_ENABLE: "FAILED_TO_ENABLE";
|
|
831
|
+
readonly FAILED_TO_UPDATE: "FAILED_TO_UPDATE";
|
|
832
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
833
|
+
readonly PENDING_ENABLEMENT: "PENDING_ENABLEMENT";
|
|
834
|
+
readonly PENDING_UPDATE: "PENDING_UPDATE";
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
export type EnablementStatus = (typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
763
840
|
/**
|
|
764
841
|
* @public
|
|
765
842
|
* @enum
|
|
@@ -772,6 +849,34 @@ export declare const ControlFindingGenerator: {
|
|
|
772
849
|
* @public
|
|
773
850
|
*/
|
|
774
851
|
export type ControlFindingGenerator = (typeof ControlFindingGenerator)[keyof typeof ControlFindingGenerator];
|
|
852
|
+
/**
|
|
853
|
+
* @public
|
|
854
|
+
* @enum
|
|
855
|
+
*/
|
|
856
|
+
export declare const CspmConnectorStatus: {
|
|
857
|
+
readonly CONNECTED: "CONNECTED";
|
|
858
|
+
readonly DEGRADED: "DEGRADED";
|
|
859
|
+
readonly FAILED_TO_CONNECT: "FAILED_TO_CONNECT";
|
|
860
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
export type CspmConnectorStatus = (typeof CspmConnectorStatus)[keyof typeof CspmConnectorStatus];
|
|
866
|
+
/**
|
|
867
|
+
* @public
|
|
868
|
+
* @enum
|
|
869
|
+
*/
|
|
870
|
+
export declare const CspmEnablementStatus: {
|
|
871
|
+
readonly ENABLED: "ENABLED";
|
|
872
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
873
|
+
readonly PENDING_ENABLEMENT: "PENDING_ENABLEMENT";
|
|
874
|
+
readonly PENDING_UPDATE: "PENDING_UPDATE";
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
export type CspmEnablementStatus = (typeof CspmEnablementStatus)[keyof typeof CspmEnablementStatus];
|
|
775
880
|
/**
|
|
776
881
|
* @public
|
|
777
882
|
* @enum
|
|
@@ -783,6 +888,34 @@ export declare const TicketCreationMode: {
|
|
|
783
888
|
* @public
|
|
784
889
|
*/
|
|
785
890
|
export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof TicketCreationMode];
|
|
891
|
+
/**
|
|
892
|
+
* @public
|
|
893
|
+
* @enum
|
|
894
|
+
*/
|
|
895
|
+
export declare const CspmConnectorProviderName: {
|
|
896
|
+
readonly AZURE: "AZURE";
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export type CspmConnectorProviderName = (typeof CspmConnectorProviderName)[keyof typeof CspmConnectorProviderName];
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
* @enum
|
|
905
|
+
*/
|
|
906
|
+
export declare const HealthIssueCode: {
|
|
907
|
+
readonly AUTHENTICATION_FAILURE: "AUTHENTICATION_FAILURE";
|
|
908
|
+
readonly DISCOVERY_FAILURE: "DISCOVERY_FAILURE";
|
|
909
|
+
readonly NO_HEALTH_DATA: "NO_HEALTH_DATA";
|
|
910
|
+
readonly RECORDING_FAILURE: "RECORDING_FAILURE";
|
|
911
|
+
readonly STREAM_AUTHORIZATION_FAILURE: "STREAM_AUTHORIZATION_FAILURE";
|
|
912
|
+
readonly STREAM_DISCONNECTED: "STREAM_DISCONNECTED";
|
|
913
|
+
readonly STREAM_LIMIT_EXCEEDED: "STREAM_LIMIT_EXCEEDED";
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
export type HealthIssueCode = (typeof HealthIssueCode)[keyof typeof HealthIssueCode];
|
|
786
919
|
/**
|
|
787
920
|
* @public
|
|
788
921
|
* @enum
|
|
@@ -846,6 +979,18 @@ export declare const IntegrationV2Type: {
|
|
|
846
979
|
* @public
|
|
847
980
|
*/
|
|
848
981
|
export type IntegrationV2Type = (typeof IntegrationV2Type)[keyof typeof IntegrationV2Type];
|
|
982
|
+
/**
|
|
983
|
+
* @public
|
|
984
|
+
* @enum
|
|
985
|
+
*/
|
|
986
|
+
export declare const FeatureStatus: {
|
|
987
|
+
readonly DISABLED: "DISABLED";
|
|
988
|
+
readonly ENABLED: "ENABLED";
|
|
989
|
+
};
|
|
990
|
+
/**
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
849
994
|
/**
|
|
850
995
|
* @public
|
|
851
996
|
* @enum
|
|
@@ -858,6 +1003,17 @@ export declare const SecurityHubFeature: {
|
|
|
858
1003
|
* @public
|
|
859
1004
|
*/
|
|
860
1005
|
export type SecurityHubFeature = (typeof SecurityHubFeature)[keyof typeof SecurityHubFeature];
|
|
1006
|
+
/**
|
|
1007
|
+
* @public
|
|
1008
|
+
* @enum
|
|
1009
|
+
*/
|
|
1010
|
+
export declare const FeatureName: {
|
|
1011
|
+
readonly NETWORK_SCANNING: "NETWORK_SCANNING";
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
export type FeatureName = (typeof FeatureName)[keyof typeof FeatureName];
|
|
861
1017
|
/**
|
|
862
1018
|
* @public
|
|
863
1019
|
* @enum
|
|
@@ -885,6 +1041,10 @@ export declare const FindingsTrendsStringField: {
|
|
|
885
1041
|
readonly FINDING_TYPE: "finding_types";
|
|
886
1042
|
readonly PROVIDER_NAME: "finding_provider";
|
|
887
1043
|
readonly REGION: "region";
|
|
1044
|
+
readonly RESOURCE_CLOUD_PROVIDERS: "resource_cloud_providers";
|
|
1045
|
+
readonly RESOURCE_OWNER_IDS: "resource_owner_ids";
|
|
1046
|
+
readonly RESOURCE_OWNER_ORGANIZATION_IDS: "resource_owner_organization_ids";
|
|
1047
|
+
readonly RESOURCE_REGIONS: "resource_regions";
|
|
888
1048
|
};
|
|
889
1049
|
/**
|
|
890
1050
|
* @public
|
|
@@ -924,6 +1084,13 @@ export declare const GroupByField: {
|
|
|
924
1084
|
readonly METADATA_PRODUCT_NAME: "metadata.product.name";
|
|
925
1085
|
readonly METADATA_PRODUCT_UID: "metadata.product.uid";
|
|
926
1086
|
readonly METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name";
|
|
1087
|
+
readonly RESOURCES_CLOUD_PARTITION: "resources.cloud_partition";
|
|
1088
|
+
readonly RESOURCES_NAME: "resources.name";
|
|
1089
|
+
readonly RESOURCES_OWNER_ACCOUNT_NAME: "resources.owner.account.name";
|
|
1090
|
+
readonly RESOURCES_OWNER_ACCOUNT_UID: "resources.owner.account.uid";
|
|
1091
|
+
readonly RESOURCES_OWNER_ORG_UID: "resources.owner.org.uid";
|
|
1092
|
+
readonly RESOURCES_PROVIDER: "resources.provider";
|
|
1093
|
+
readonly RESOURCES_REGION: "resources.region";
|
|
927
1094
|
readonly RESOURCES_TYPE: "resources.type";
|
|
928
1095
|
readonly RESOURCES_UID: "resources.uid";
|
|
929
1096
|
readonly SEVERITY: "severity";
|
|
@@ -1021,13 +1188,19 @@ export type ResourcesNumberField = (typeof ResourcesNumberField)[keyof typeof Re
|
|
|
1021
1188
|
*/
|
|
1022
1189
|
export declare const ResourcesStringField: {
|
|
1023
1190
|
readonly ACCOUNT_ID: "AccountId";
|
|
1191
|
+
readonly ACCOUNT_NAME: "AccountName";
|
|
1024
1192
|
readonly FINDING_TYPE: "FindingsSummary.FindingType";
|
|
1025
1193
|
readonly PRODUCT_NAME: "FindingsSummary.ProductName";
|
|
1026
1194
|
readonly REGION: "Region";
|
|
1027
1195
|
readonly RESOURCE_CATEGORY: "ResourceCategory";
|
|
1196
|
+
readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
|
|
1028
1197
|
readonly RESOURCE_GUID: "ResourceGuid";
|
|
1029
1198
|
readonly RESOURCE_ID: "ResourceId";
|
|
1030
1199
|
readonly RESOURCE_NAME: "ResourceName";
|
|
1200
|
+
readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
|
|
1201
|
+
readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
|
|
1202
|
+
readonly RESOURCE_PROVIDER: "ResourceProvider";
|
|
1203
|
+
readonly RESOURCE_REGION: "ResourceRegion";
|
|
1031
1204
|
readonly RESOURCE_TYPE: "ResourceType";
|
|
1032
1205
|
};
|
|
1033
1206
|
/**
|
|
@@ -1040,10 +1213,16 @@ export type ResourcesStringField = (typeof ResourcesStringField)[keyof typeof Re
|
|
|
1040
1213
|
*/
|
|
1041
1214
|
export declare const ResourceGroupByField: {
|
|
1042
1215
|
readonly ACCOUNT_ID: "AccountId";
|
|
1216
|
+
readonly ACCOUNT_NAME: "AccountName";
|
|
1043
1217
|
readonly FINDING_TYPE: "FindingsSummary.FindingType";
|
|
1044
1218
|
readonly REGION: "Region";
|
|
1045
1219
|
readonly RESOURCE_CATEGORY: "ResourceCategory";
|
|
1220
|
+
readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
|
|
1046
1221
|
readonly RESOURCE_NAME: "ResourceName";
|
|
1222
|
+
readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
|
|
1223
|
+
readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
|
|
1224
|
+
readonly RESOURCE_PROVIDER: "ResourceProvider";
|
|
1225
|
+
readonly RESOURCE_REGION: "ResourceRegion";
|
|
1047
1226
|
readonly RESOURCE_TYPE: "ResourceType";
|
|
1048
1227
|
};
|
|
1049
1228
|
/**
|
|
@@ -1058,6 +1237,10 @@ export declare const ResourcesTrendsStringField: {
|
|
|
1058
1237
|
readonly ACCOUNT_ID: "account_id";
|
|
1059
1238
|
readonly REGION: "region";
|
|
1060
1239
|
readonly RESOURCE_CATEGORY: "resource_category";
|
|
1240
|
+
readonly RESOURCE_CLOUD_PROVIDER: "resource_cloud_provider";
|
|
1241
|
+
readonly RESOURCE_OWNER_ID: "resource_owner_id";
|
|
1242
|
+
readonly RESOURCE_OWNER_ORGANIZATION_ID: "resource_owner_organization_id";
|
|
1243
|
+
readonly RESOURCE_REGION: "resource_region";
|
|
1061
1244
|
readonly RESOURCE_TYPE: "resource_type";
|
|
1062
1245
|
};
|
|
1063
1246
|
/**
|
|
@@ -1074,6 +1257,7 @@ export declare const ResourceCategory: {
|
|
|
1074
1257
|
readonly COMPUTE: "Compute";
|
|
1075
1258
|
readonly DATABASE: "Database";
|
|
1076
1259
|
readonly IDENTITY: "Identity";
|
|
1260
|
+
readonly MESSAGING: "Messaging";
|
|
1077
1261
|
readonly NETWORK: "Network";
|
|
1078
1262
|
readonly OTHER: "Other";
|
|
1079
1263
|
readonly STORAGE: "Storage";
|
|
@@ -1727,6 +1727,21 @@ export interface AutomationRulesFindingFilters {
|
|
|
1727
1727
|
* @public
|
|
1728
1728
|
*/
|
|
1729
1729
|
AwsAccountName?: StringFilter[] | undefined;
|
|
1730
|
+
/**
|
|
1731
|
+
* <p>The cloud provider that the resource belongs to. Valid values are <code>AWS</code> and <code>Azure</code>.</p>
|
|
1732
|
+
* @public
|
|
1733
|
+
*/
|
|
1734
|
+
ResourceProvider?: StringFilter[] | undefined;
|
|
1735
|
+
/**
|
|
1736
|
+
* <p>The unique identifier of the account that owns the resource that the finding applies to, for example, Azure Subscription Id or Amazon Web Services Account Id</p>
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
ResourceOwnerAccountId?: StringFilter[] | undefined;
|
|
1740
|
+
/**
|
|
1741
|
+
* <p>The unique identifier of the organization that owns the resource that the finding applies to, for example, Azure Tenant Id</p>
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
ResourceOwnerOrgId?: StringFilter[] | undefined;
|
|
1730
1745
|
}
|
|
1731
1746
|
/**
|
|
1732
1747
|
* <p>
|