@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
|
@@ -46,7 +46,7 @@ declare const GetFindingStatisticsV2Command_base: {
|
|
|
46
46
|
* { // CompositeFilter
|
|
47
47
|
* StringFilters: [ // OcsfStringFilterList
|
|
48
48
|
* { // OcsfStringFilter
|
|
49
|
-
* 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",
|
|
49
|
+
* 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",
|
|
50
50
|
* Filter: { // StringFilter
|
|
51
51
|
* Value: "STRING_VALUE",
|
|
52
52
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -109,7 +109,7 @@ declare const GetFindingStatisticsV2Command_base: {
|
|
|
109
109
|
* {
|
|
110
110
|
* StringFilters: [
|
|
111
111
|
* {
|
|
112
|
-
* 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",
|
|
112
|
+
* 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",
|
|
113
113
|
* Filter: {
|
|
114
114
|
* Value: "STRING_VALUE",
|
|
115
115
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -177,7 +177,7 @@ declare const GetFindingStatisticsV2Command_base: {
|
|
|
177
177
|
* ],
|
|
178
178
|
* CompositeOperator: "AND" || "OR",
|
|
179
179
|
* },
|
|
180
|
-
* GroupByField: "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.name" || "compliance.status" || "compliance.control" || "finding_info.title" || "finding_info.related_events.traits.category" || "finding_info.types" || "metadata.product.name" || "metadata.product.uid" || "resources.type" || "resources.uid" || "severity" || "status" || "vulnerabilities.fix_coverage" || "class_name" || "vulnerabilities.affected_packages.name" || "finding_info.analytic.name" || "compliance.standards" || "cloud.account.name" || "vendor_attributes.severity" || "metadata.product.vendor_name", // required
|
|
180
|
+
* GroupByField: "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.name" || "compliance.status" || "compliance.control" || "finding_info.title" || "finding_info.related_events.traits.category" || "finding_info.types" || "metadata.product.name" || "metadata.product.uid" || "resources.type" || "resources.cloud_partition" || "resources.name" || "resources.owner.account.uid" || "resources.owner.org.uid" || "resources.owner.account.name" || "resources.provider" || "resources.region" || "resources.uid" || "severity" || "status" || "vulnerabilities.fix_coverage" || "class_name" || "vulnerabilities.affected_packages.name" || "finding_info.analytic.name" || "compliance.standards" || "cloud.account.name" || "vendor_attributes.severity" || "metadata.product.vendor_name", // required
|
|
181
181
|
* },
|
|
182
182
|
* ],
|
|
183
183
|
* Scopes: { // FindingScopes
|
|
@@ -307,6 +307,9 @@ declare const GetFindingsCommand_base: {
|
|
|
307
307
|
* AwsAccountName: "<StringFilterList>",
|
|
308
308
|
* ResourceApplicationName: "<StringFilterList>",
|
|
309
309
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
310
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
311
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
312
|
+
* ResourceProvider: "<StringFilterList>",
|
|
310
313
|
* },
|
|
311
314
|
* SortCriteria: [ // SortCriteria
|
|
312
315
|
* { // SortCriterion
|
|
@@ -478,8 +481,17 @@ declare const GetFindingsCommand_base: {
|
|
|
478
481
|
* // { // Resource
|
|
479
482
|
* // Type: "STRING_VALUE", // required
|
|
480
483
|
* // Id: "STRING_VALUE", // required
|
|
481
|
-
* // Partition: "aws" || "aws-cn" || "aws-us-gov",
|
|
484
|
+
* // Partition: "aws" || "aws-cn" || "aws-us-gov" || "aws-us-iso" || "aws-us-iso-b" || "AzureCloud",
|
|
482
485
|
* // Region: "STRING_VALUE",
|
|
486
|
+
* // Provider: "Azure" || "AWS",
|
|
487
|
+
* // Owner: { // ResourceOwner
|
|
488
|
+
* // Account: { // ResourceOwnerAccount
|
|
489
|
+
* // Id: "STRING_VALUE",
|
|
490
|
+
* // },
|
|
491
|
+
* // Org: { // ResourceOwnerOrg
|
|
492
|
+
* // Id: "STRING_VALUE",
|
|
493
|
+
* // },
|
|
494
|
+
* // },
|
|
483
495
|
* // ResourceRole: "STRING_VALUE",
|
|
484
496
|
* // Tags: {
|
|
485
497
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -4257,6 +4269,7 @@ declare const GetFindingsCommand_base: {
|
|
|
4257
4269
|
* // ProjectName: "STRING_VALUE",
|
|
4258
4270
|
* // CodeSecurityIntegrationArn: "STRING_VALUE",
|
|
4259
4271
|
* // },
|
|
4272
|
+
* // AzureResource: "DOCUMENT_VALUE",
|
|
4260
4273
|
* // },
|
|
4261
4274
|
* // ApplicationName: "STRING_VALUE",
|
|
4262
4275
|
* // ApplicationArn: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ declare const GetFindingsTrendsV2Command_base: {
|
|
|
40
40
|
* { // FindingsTrendsCompositeFilter
|
|
41
41
|
* StringFilters: [ // FindingsTrendsStringFilterList
|
|
42
42
|
* { // FindingsTrendsStringFilter
|
|
43
|
-
* FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name",
|
|
43
|
+
* FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name" || "resource_cloud_providers" || "resource_regions" || "resource_owner_ids" || "resource_owner_organization_ids",
|
|
44
44
|
* Filter: { // StringFilter
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -51,7 +51,7 @@ declare const GetFindingsTrendsV2Command_base: {
|
|
|
51
51
|
* {
|
|
52
52
|
* StringFilters: [
|
|
53
53
|
* {
|
|
54
|
-
* FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name",
|
|
54
|
+
* FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name" || "resource_cloud_providers" || "resource_regions" || "resource_owner_ids" || "resource_owner_organization_ids",
|
|
55
55
|
* Filter: {
|
|
56
56
|
* Value: "STRING_VALUE",
|
|
57
57
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -45,7 +45,7 @@ declare const GetFindingsV2Command_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 GetFindingsV2Command_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",
|
|
@@ -319,6 +319,9 @@ declare const GetInsightsCommand_base: {
|
|
|
319
319
|
* // AwsAccountName: "<StringFilterList>",
|
|
320
320
|
* // ResourceApplicationName: "<StringFilterList>",
|
|
321
321
|
* // ResourceApplicationArn: "<StringFilterList>",
|
|
322
|
+
* // ResourceOwnerAccountId: "<StringFilterList>",
|
|
323
|
+
* // ResourceOwnerOrgId: "<StringFilterList>",
|
|
324
|
+
* // ResourceProvider: "<StringFilterList>",
|
|
322
325
|
* // },
|
|
323
326
|
* // GroupByAttribute: "STRING_VALUE", // required
|
|
324
327
|
* // },
|
|
@@ -38,13 +38,13 @@ declare const GetResourcesStatisticsV2Command_base: {
|
|
|
38
38
|
* const input = { // GetResourcesStatisticsV2Request
|
|
39
39
|
* GroupByRules: [ // ResourceGroupByRules // required
|
|
40
40
|
* { // ResourceGroupByRule
|
|
41
|
-
* GroupByField: "AccountId" || "Region" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType", // required
|
|
41
|
+
* GroupByField: "AccountId" || "AccountName" || "Region" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition" || "ResourceRegion" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType", // required
|
|
42
42
|
* Filters: { // ResourcesFilters
|
|
43
43
|
* CompositeFilters: [ // ResourcesCompositeFilterList
|
|
44
44
|
* { // ResourcesCompositeFilter
|
|
45
45
|
* StringFilters: [ // ResourcesStringFilterList
|
|
46
46
|
* { // ResourcesStringFilter
|
|
47
|
-
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "Region" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
47
|
+
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "AccountName" || "Region" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition" || "ResourceRegion" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
48
48
|
* Filter: { // StringFilter
|
|
49
49
|
* Value: "STRING_VALUE",
|
|
50
50
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -91,7 +91,7 @@ declare const GetResourcesStatisticsV2Command_base: {
|
|
|
91
91
|
* {
|
|
92
92
|
* StringFilters: [
|
|
93
93
|
* {
|
|
94
|
-
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "Region" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
94
|
+
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "AccountName" || "Region" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition" || "ResourceRegion" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
95
95
|
* Filter: {
|
|
96
96
|
* Value: "STRING_VALUE",
|
|
97
97
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -40,7 +40,7 @@ declare const GetResourcesTrendsV2Command_base: {
|
|
|
40
40
|
* { // ResourcesTrendsCompositeFilter
|
|
41
41
|
* StringFilters: [ // ResourcesTrendsStringFilterList
|
|
42
42
|
* { // ResourcesTrendsStringFilter
|
|
43
|
-
* FieldName: "account_id" || "region" || "resource_type" || "resource_category",
|
|
43
|
+
* FieldName: "account_id" || "region" || "resource_type" || "resource_category" || "resource_cloud_provider" || "resource_region" || "resource_owner_id" || "resource_owner_organization_id",
|
|
44
44
|
* Filter: { // StringFilter
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -51,7 +51,7 @@ declare const GetResourcesTrendsV2Command_base: {
|
|
|
51
51
|
* {
|
|
52
52
|
* StringFilters: [
|
|
53
53
|
* {
|
|
54
|
-
* FieldName: "account_id" || "region" || "resource_type" || "resource_category",
|
|
54
|
+
* FieldName: "account_id" || "region" || "resource_type" || "resource_category" || "resource_cloud_provider" || "resource_region" || "resource_owner_id" || "resource_owner_organization_id",
|
|
55
55
|
* Filter: {
|
|
56
56
|
* Value: "STRING_VALUE",
|
|
57
57
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -42,7 +42,7 @@ declare const GetResourcesV2Command_base: {
|
|
|
42
42
|
* { // ResourcesCompositeFilter
|
|
43
43
|
* StringFilters: [ // ResourcesStringFilterList
|
|
44
44
|
* { // ResourcesStringFilter
|
|
45
|
-
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "Region" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
45
|
+
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "AccountName" || "Region" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition" || "ResourceRegion" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
46
46
|
* Filter: { // StringFilter
|
|
47
47
|
* Value: "STRING_VALUE",
|
|
48
48
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -89,7 +89,7 @@ declare const GetResourcesV2Command_base: {
|
|
|
89
89
|
* {
|
|
90
90
|
* StringFilters: [
|
|
91
91
|
* {
|
|
92
|
-
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "Region" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
92
|
+
* FieldName: "ResourceGuid" || "ResourceId" || "AccountId" || "AccountName" || "Region" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition" || "ResourceRegion" || "ResourceCategory" || "ResourceType" || "ResourceName" || "FindingsSummary.FindingType" || "FindingsSummary.ProductName",
|
|
93
93
|
* Filter: {
|
|
94
94
|
* Value: "STRING_VALUE",
|
|
95
95
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -166,9 +166,15 @@ declare const GetResourcesV2Command_base: {
|
|
|
166
166
|
* // ResourceGuid: "STRING_VALUE",
|
|
167
167
|
* // ResourceId: "STRING_VALUE", // required
|
|
168
168
|
* // AccountId: "STRING_VALUE", // required
|
|
169
|
+
* // AccountName: "STRING_VALUE",
|
|
169
170
|
* // Region: "STRING_VALUE", // required
|
|
170
|
-
* //
|
|
171
|
-
* //
|
|
171
|
+
* // ResourceProvider: "STRING_VALUE",
|
|
172
|
+
* // ResourceOwnerAccountId: "STRING_VALUE",
|
|
173
|
+
* // ResourceOwnerOrgId: "STRING_VALUE",
|
|
174
|
+
* // ResourceCloudPartition: "STRING_VALUE",
|
|
175
|
+
* // ResourceRegion: "STRING_VALUE",
|
|
176
|
+
* // ResourceCategory: "Compute" || "Database" || "Storage" || "Code" || "AI/ML" || "Identity" || "Network" || "Messaging" || "Other",
|
|
177
|
+
* // ResourceType: "STRING_VALUE", // required
|
|
172
178
|
* // ResourceName: "STRING_VALUE",
|
|
173
179
|
* // ResourceCreationTimeDt: "STRING_VALUE",
|
|
174
180
|
* // ResourceDetailCaptureTimeDt: "STRING_VALUE", // required
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetSecurityControlDefinitionRequest, GetSecurityControlDefinitionResponse } from "../models/
|
|
2
|
+
import type { GetSecurityControlDefinitionRequest, GetSecurityControlDefinitionResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -107,6 +107,7 @@ declare const GetSecurityControlDefinitionCommand_base: {
|
|
|
107
107
|
* // },
|
|
108
108
|
* // },
|
|
109
109
|
* // },
|
|
110
|
+
* // Provider: "AWS" || "Azure",
|
|
110
111
|
* // },
|
|
111
112
|
* // };
|
|
112
113
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { InviteMembersRequest, InviteMembersResponse } from "../models/
|
|
2
|
+
import type { InviteMembersRequest, InviteMembersResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAggregatorsV2Request, ListAggregatorsV2Response } from "../models/
|
|
2
|
+
import type { ListAggregatorsV2Request, ListAggregatorsV2Response } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAutomationRulesRequest, ListAutomationRulesResponse } from "../models/
|
|
2
|
+
import type { ListAutomationRulesRequest, ListAutomationRulesResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAutomationRulesV2Request, ListAutomationRulesV2Response } from "../models/
|
|
2
|
+
import type { ListAutomationRulesV2Request, ListAutomationRulesV2Response } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListConfigurationPoliciesRequest, ListConfigurationPoliciesResponse } from "../models/
|
|
2
|
+
import type { ListConfigurationPoliciesRequest, ListConfigurationPoliciesResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListConfigurationPolicyAssociationsRequest, ListConfigurationPolicyAssociationsResponse } from "../models/
|
|
2
|
+
import type { ListConfigurationPolicyAssociationsRequest, ListConfigurationPolicyAssociationsResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListConnectorsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListConnectorsCommandInput extends ListConnectorsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListConnectorsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListConnectorsCommand_base: {
|
|
22
|
+
new (input: ListConnectorsCommandInput): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListConnectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the CSPM connectors and their metadata for the calling account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityHubClient, ListConnectorsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
32
|
+
* // const { SecurityHubClient, ListConnectorsCommand } = 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 = { // ListConnectorsRequest
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* ProviderName: "AZURE",
|
|
40
|
+
* ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
41
|
+
* EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListConnectorsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListConnectorsResponse
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // Connectors: [ // CspmConnectorSummaryList // required
|
|
48
|
+
* // { // CspmConnectorSummary
|
|
49
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
50
|
+
* // ConnectorId: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // ProviderSummary: { // CspmProviderSummary
|
|
54
|
+
* // ProviderName: "AZURE",
|
|
55
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
56
|
+
* // ProviderConfiguration: { // CspmProviderDetail Union: only one key present
|
|
57
|
+
* // Azure: { // AzureDetail
|
|
58
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
59
|
+
* // ScopeConfiguration: { // AzureScopeConfiguration
|
|
60
|
+
* // ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
61
|
+
* // ScopeValues: [ // ScopeValueList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // AzureRegions: [ // AzureRegionList // required
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // CreatedBy: "STRING_VALUE",
|
|
73
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param ListConnectorsCommandInput - {@link ListConnectorsCommandInput}
|
|
81
|
+
* @returns {@link ListConnectorsCommandOutput}
|
|
82
|
+
* @see {@link ListConnectorsCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link ListConnectorsCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
87
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ConflictException} (client fault)
|
|
90
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InternalServerException} (server fault)
|
|
93
|
+
* <p>
|
|
94
|
+
* The request has failed due to an internal failure of the service.
|
|
95
|
+
* </p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
98
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
104
|
+
* <p>
|
|
105
|
+
* The limit on the number of requests per second was exceeded.
|
|
106
|
+
* </p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ValidationException} (client fault)
|
|
109
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link SecurityHubServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
113
|
+
*
|
|
114
|
+
*
|
|
115
|
+
* @example To list CSPM connectors
|
|
116
|
+
* ```javascript
|
|
117
|
+
* // This operation lists the CSPM connectors for the calling account.
|
|
118
|
+
* const input = {
|
|
119
|
+
* MaxResults: 10
|
|
120
|
+
* };
|
|
121
|
+
* const command = new ListConnectorsCommand(input);
|
|
122
|
+
* const response = await client.send(command);
|
|
123
|
+
* /* response is
|
|
124
|
+
* {
|
|
125
|
+
* Connectors: [
|
|
126
|
+
* {
|
|
127
|
+
* ConnectorArn: "arn:aws:securityhub:us-east-1:123456789012:connector/cspm-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
128
|
+
* ConnectorId: "cspm-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
129
|
+
* CreatedAt: "2026-01-15T10:30:00.000Z",
|
|
130
|
+
* Name: "MyAzureConnector",
|
|
131
|
+
* ProviderSummary: {
|
|
132
|
+
* ConnectorStatus: "CONNECTED",
|
|
133
|
+
* ProviderName: "AZURE"
|
|
134
|
+
* }
|
|
135
|
+
* }
|
|
136
|
+
* ]
|
|
137
|
+
* }
|
|
138
|
+
* *\/
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class ListConnectorsCommand extends ListConnectorsCommand_base {
|
|
144
|
+
/** @internal type navigation helper, not in runtime. */
|
|
145
|
+
protected static __types: {
|
|
146
|
+
api: {
|
|
147
|
+
input: ListConnectorsRequest;
|
|
148
|
+
output: ListConnectorsResponse;
|
|
149
|
+
};
|
|
150
|
+
sdk: {
|
|
151
|
+
input: ListConnectorsCommandInput;
|
|
152
|
+
output: ListConnectorsCommandOutput;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListConnectorsV2Request, ListConnectorsV2Response } from "../models/
|
|
2
|
+
import type { ListConnectorsV2Request, ListConnectorsV2Response } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -36,8 +36,9 @@ declare const ListConnectorsV2Command_base: {
|
|
|
36
36
|
* const input = { // ListConnectorsV2Request
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
38
38
|
* MaxResults: Number("int"),
|
|
39
|
-
* ProviderName: "JIRA_CLOUD" || "SERVICENOW",
|
|
40
|
-
* ConnectorStatus: "CONNECTED" || "FAILED_TO_CONNECT" || "PENDING_CONFIGURATION" || "
|
|
39
|
+
* ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE",
|
|
40
|
+
* ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
41
|
+
* EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new ListConnectorsV2Command(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -50,10 +51,38 @@ declare const ListConnectorsV2Command_base: {
|
|
|
50
51
|
* // Name: "STRING_VALUE", // required
|
|
51
52
|
* // Description: "STRING_VALUE",
|
|
52
53
|
* // ProviderSummary: { // ProviderSummary
|
|
53
|
-
* // ProviderName: "JIRA_CLOUD" || "SERVICENOW",
|
|
54
|
-
* // ConnectorStatus: "CONNECTED" || "FAILED_TO_CONNECT" || "PENDING_CONFIGURATION" || "
|
|
54
|
+
* // ProviderName: "JIRA_CLOUD" || "SERVICENOW" || "AZURE",
|
|
55
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
56
|
+
* // ProviderConfiguration: { // ProviderDetail Union: only one key present
|
|
57
|
+
* // JiraCloud: { // JiraCloudDetail
|
|
58
|
+
* // CloudId: "STRING_VALUE",
|
|
59
|
+
* // ProjectKey: "STRING_VALUE",
|
|
60
|
+
* // Domain: "STRING_VALUE",
|
|
61
|
+
* // AuthUrl: "STRING_VALUE",
|
|
62
|
+
* // AuthStatus: "ACTIVE" || "FAILED",
|
|
63
|
+
* // },
|
|
64
|
+
* // ServiceNow: { // ServiceNowDetail
|
|
65
|
+
* // InstanceName: "STRING_VALUE",
|
|
66
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
67
|
+
* // AuthStatus: "ACTIVE" || "FAILED", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // Azure: { // AzureDetail
|
|
70
|
+
* // AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
71
|
+
* // ScopeConfiguration: { // AzureScopeConfiguration
|
|
72
|
+
* // ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
73
|
+
* // ScopeValues: [ // ScopeValueList
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // AzureRegions: [ // AzureRegionList // required
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
55
82
|
* // },
|
|
56
83
|
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
84
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
85
|
+
* // EnablementStatusReason: "STRING_VALUE",
|
|
57
86
|
* // },
|
|
58
87
|
* // ],
|
|
59
88
|
* // };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/
|
|
2
|
+
import type { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/
|
|
2
|
+
import type { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListInvitationsRequest, ListInvitationsResponse } from "../models/
|
|
2
|
+
import type { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -39,6 +39,9 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
39
39
|
* StandardsArn: "STRING_VALUE",
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
|
+
* Providers: [ // SecurityControlsProviders
|
|
43
|
+
* "AWS" || "Azure",
|
|
44
|
+
* ],
|
|
42
45
|
* };
|
|
43
46
|
* const command = new ListSecurityControlDefinitionsCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
@@ -110,6 +113,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
|
|
|
110
113
|
* // },
|
|
111
114
|
* // },
|
|
112
115
|
* // },
|
|
116
|
+
* // Provider: "AWS" || "Azure",
|
|
113
117
|
* // },
|
|
114
118
|
* // ],
|
|
115
119
|
* // NextToken: "STRING_VALUE",
|