@aws-sdk/client-inspector2 3.1169.0 → 3.1171.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/dist-cjs/index.js +76 -11
- package/dist-es/models/enums.js +20 -0
- package/dist-es/schemas/schemas_0.js +51 -10
- package/dist-types/commands/CreateConnectorCommand.d.ts +31 -4
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +2 -1
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +34 -5
- package/dist-types/commands/UpdateConnectorCommand.d.ts +29 -3
- package/dist-types/models/enums.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +201 -179
- package/dist-types/models/models_1.d.ts +149 -6
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -34
- package/dist-types/ts3.4/models/models_1.d.ts +48 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus,
|
|
1
|
+
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CloudProvider, CodeRepositoryProviderType, CodeRepositorySortBy, CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, ConnectorArnComparison, ConnectorCloudProvider, ConnectorHealthStatus, ConnectorType, ConnectorTypeComparison, ContainerImagePullDateRescanDuration, ContainerImageRescanDuration, ContainerImageSortBy, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, CoverageStringComparison, Day, DelegatedAdminStatus, Ec2DeepInspectionStatus, Ec2InstanceSortBy, Ec2Platform, Ec2ScanMode, Ec2ScanModeStatus, EcrPullDateRescanDuration, EcrPullDateRescanMode, EcrRescanDuration, EcrRescanDurationStatus, EcrScanFrequency, EnablementStatus, ErrorCode, ExploitAvailable, ExternalReportStatus, FilterAction, FindingDetailsErrorCode, FindingStatus, FindingType, FindingTypeSortBy, FixAvailable, FreeTrialInfoErrorCode, FreeTrialStatus, FreeTrialType, GroupKey, ImageLayerSortBy, IntegrationStatus, IntegrationType, LambdaFunctionSortBy, LambdaLayerSortBy, MachineImagePlatform, MapComparison, NetworkProtocol, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, Operation, PackageManager, PackageSortBy, PackageType, PeriodicScanFrequency, ProjectSelectionScope, Provider, ProviderComparison, RelationshipStatus, ReportFormat, ReportingErrorCode, RepositorySortBy, ResourceMapComparison, ResourceScanType, ResourceStringComparison, ResourceType, RuleSetCategory, Runtime, SbomReportFormat, ScanMode, ScanSource, ScanStatusCode, ScanStatusReason, ScanType, ScopeState, ScopeType, ServerlessFunctionSortBy, Service, Severity, SortOrder, Status, StringComparison, TagComparison, TitleSortBy, VmInstanceSortBy, VmPlatform, VMScannerStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
4
4
|
* @public
|
|
@@ -67,7 +67,7 @@ export interface AccountAggregation {
|
|
|
67
67
|
*/
|
|
68
68
|
findingType?: AggregationFindingType | undefined;
|
|
69
69
|
/**
|
|
70
|
-
* <p>The type of resource
|
|
70
|
+
* <p>The type of resource. For Google Cloud Platform (GCP) resources, the resource type is <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p>
|
|
71
71
|
* @public
|
|
72
72
|
*/
|
|
73
73
|
resourceType?: AggregationResourceType | undefined;
|
|
@@ -435,7 +435,7 @@ export interface ContainerImageAggregation {
|
|
|
435
435
|
*/
|
|
436
436
|
imageTags?: StringFilter[] | undefined;
|
|
437
437
|
/**
|
|
438
|
-
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
438
|
+
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
439
439
|
* @public
|
|
440
440
|
*/
|
|
441
441
|
cloudProviders?: StringFilter[] | undefined;
|
|
@@ -445,7 +445,7 @@ export interface ContainerImageAggregation {
|
|
|
445
445
|
*/
|
|
446
446
|
cloudPartitions?: StringFilter[] | undefined;
|
|
447
447
|
/**
|
|
448
|
-
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
448
|
+
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
449
449
|
* @public
|
|
450
450
|
*/
|
|
451
451
|
cloudRegions?: StringFilter[] | undefined;
|
|
@@ -548,7 +548,7 @@ export interface FindingTypeAggregation {
|
|
|
548
548
|
*/
|
|
549
549
|
findingType?: AggregationFindingType | undefined;
|
|
550
550
|
/**
|
|
551
|
-
* <p>The resource type to aggregate
|
|
551
|
+
* <p>The resource type to aggregate. For Google Cloud Platform (GCP) resources, the resource type is <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p>
|
|
552
552
|
* @public
|
|
553
553
|
*/
|
|
554
554
|
resourceType?: AggregationResourceType | undefined;
|
|
@@ -584,7 +584,7 @@ export interface ImageLayerAggregation {
|
|
|
584
584
|
*/
|
|
585
585
|
layerHashes?: StringFilter[] | undefined;
|
|
586
586
|
/**
|
|
587
|
-
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
587
|
+
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
588
588
|
* @public
|
|
589
589
|
*/
|
|
590
590
|
cloudProviders?: StringFilter[] | undefined;
|
|
@@ -599,7 +599,7 @@ export interface ImageLayerAggregation {
|
|
|
599
599
|
*/
|
|
600
600
|
cloudOrgIds?: StringFilter[] | undefined;
|
|
601
601
|
/**
|
|
602
|
-
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
602
|
+
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
603
603
|
* @public
|
|
604
604
|
*/
|
|
605
605
|
cloudRegions?: StringFilter[] | undefined;
|
|
@@ -754,7 +754,7 @@ export interface ServerlessFunctionAggregation {
|
|
|
754
754
|
*/
|
|
755
755
|
functionTags?: MapFilter[] | undefined;
|
|
756
756
|
/**
|
|
757
|
-
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
757
|
+
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
758
758
|
* @public
|
|
759
759
|
*/
|
|
760
760
|
cloudProviders?: StringFilter[] | undefined;
|
|
@@ -764,7 +764,7 @@ export interface ServerlessFunctionAggregation {
|
|
|
764
764
|
*/
|
|
765
765
|
cloudPartitions?: StringFilter[] | undefined;
|
|
766
766
|
/**
|
|
767
|
-
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
767
|
+
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
768
768
|
* @public
|
|
769
769
|
*/
|
|
770
770
|
cloudRegions?: StringFilter[] | undefined;
|
|
@@ -805,7 +805,7 @@ export interface TitleAggregation {
|
|
|
805
805
|
*/
|
|
806
806
|
vulnerabilityIds?: StringFilter[] | undefined;
|
|
807
807
|
/**
|
|
808
|
-
* <p>The resource type to aggregate on
|
|
808
|
+
* <p>The resource type to aggregate on. For Google Cloud Platform (GCP) resources, the resource type is <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p>
|
|
809
809
|
* @public
|
|
810
810
|
*/
|
|
811
811
|
resourceType?: AggregationResourceType | undefined;
|
|
@@ -851,7 +851,7 @@ export interface VmInstanceAggregation {
|
|
|
851
851
|
*/
|
|
852
852
|
vmImageReferences?: StringFilter[] | undefined;
|
|
853
853
|
/**
|
|
854
|
-
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
854
|
+
* <p>The cloud providers to aggregate findings for. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
855
855
|
* @public
|
|
856
856
|
*/
|
|
857
857
|
cloudProviders?: StringFilter[] | undefined;
|
|
@@ -861,7 +861,7 @@ export interface VmInstanceAggregation {
|
|
|
861
861
|
*/
|
|
862
862
|
cloudPartitions?: StringFilter[] | undefined;
|
|
863
863
|
/**
|
|
864
|
-
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
864
|
+
* <p>The cloud regions to aggregate findings for. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
865
865
|
* @public
|
|
866
866
|
*/
|
|
867
867
|
cloudRegions?: StringFilter[] | undefined;
|
|
@@ -1285,7 +1285,7 @@ export interface AmiAggregationResponse {
|
|
|
1285
1285
|
*/
|
|
1286
1286
|
accountId?: string | undefined;
|
|
1287
1287
|
/**
|
|
1288
|
-
* <p>The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1288
|
+
* <p>The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1289
1289
|
* @public
|
|
1290
1290
|
*/
|
|
1291
1291
|
cloudProvider?: Provider | undefined;
|
|
@@ -1295,7 +1295,7 @@ export interface AmiAggregationResponse {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
cloudPartition?: string | undefined;
|
|
1297
1297
|
/**
|
|
1298
|
-
* <p>The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1298
|
+
* <p>The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1299
1299
|
* @public
|
|
1300
1300
|
*/
|
|
1301
1301
|
cloudRegion?: string | undefined;
|
|
@@ -1428,7 +1428,7 @@ export interface ContainerImageAggregationResponse {
|
|
|
1428
1428
|
*/
|
|
1429
1429
|
resourceId: string | undefined;
|
|
1430
1430
|
/**
|
|
1431
|
-
* <p>The cloud service provider associated with this container image aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1431
|
+
* <p>The cloud service provider associated with this container image aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1432
1432
|
* @public
|
|
1433
1433
|
*/
|
|
1434
1434
|
cloudProvider?: Provider | undefined;
|
|
@@ -1443,7 +1443,7 @@ export interface ContainerImageAggregationResponse {
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
cloudPartition?: string | undefined;
|
|
1445
1445
|
/**
|
|
1446
|
-
* <p>The cloud Region associated with this container image aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1446
|
+
* <p>The cloud Region associated with this container image aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1447
1447
|
* @public
|
|
1448
1448
|
*/
|
|
1449
1449
|
cloudRegion?: string | undefined;
|
|
@@ -1575,7 +1575,7 @@ export interface FindingTypeAggregationResponse {
|
|
|
1575
1575
|
*/
|
|
1576
1576
|
fixAvailableCount?: number | undefined;
|
|
1577
1577
|
/**
|
|
1578
|
-
* <p>The cloud service provider associated with this finding type aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1578
|
+
* <p>The cloud service provider associated with this finding type aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1579
1579
|
* @public
|
|
1580
1580
|
*/
|
|
1581
1581
|
cloudProvider?: string | undefined;
|
|
@@ -1590,7 +1590,7 @@ export interface FindingTypeAggregationResponse {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
cloudOrgId?: string | undefined;
|
|
1592
1592
|
/**
|
|
1593
|
-
* <p>The cloud Region associated with this finding type aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1593
|
+
* <p>The cloud Region associated with this finding type aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1594
1594
|
* @public
|
|
1595
1595
|
*/
|
|
1596
1596
|
cloudRegion?: string | undefined;
|
|
@@ -1626,7 +1626,7 @@ export interface ImageLayerAggregationResponse {
|
|
|
1626
1626
|
*/
|
|
1627
1627
|
accountId: string | undefined;
|
|
1628
1628
|
/**
|
|
1629
|
-
* <p>The cloud service provider associated with this image layer aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1629
|
+
* <p>The cloud service provider associated with this image layer aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1630
1630
|
* @public
|
|
1631
1631
|
*/
|
|
1632
1632
|
cloudProvider?: string | undefined;
|
|
@@ -1641,7 +1641,7 @@ export interface ImageLayerAggregationResponse {
|
|
|
1641
1641
|
*/
|
|
1642
1642
|
cloudOrgId?: string | undefined;
|
|
1643
1643
|
/**
|
|
1644
|
-
* <p>The cloud Region associated with this image layer aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1644
|
+
* <p>The cloud Region associated with this image layer aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1645
1645
|
* @public
|
|
1646
1646
|
*/
|
|
1647
1647
|
cloudRegion?: string | undefined;
|
|
@@ -1765,7 +1765,7 @@ export interface RepositoryAggregationResponse {
|
|
|
1765
1765
|
*/
|
|
1766
1766
|
accountId?: string | undefined;
|
|
1767
1767
|
/**
|
|
1768
|
-
* <p>The cloud service provider associated with this repository aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1768
|
+
* <p>The cloud service provider associated with this repository aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1769
1769
|
* @public
|
|
1770
1770
|
*/
|
|
1771
1771
|
cloudProvider?: Provider | undefined;
|
|
@@ -1775,7 +1775,7 @@ export interface RepositoryAggregationResponse {
|
|
|
1775
1775
|
*/
|
|
1776
1776
|
cloudPartition?: string | undefined;
|
|
1777
1777
|
/**
|
|
1778
|
-
* <p>The cloud Region associated with this repository aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1778
|
+
* <p>The cloud Region associated with this repository aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1779
1779
|
* @public
|
|
1780
1780
|
*/
|
|
1781
1781
|
cloudRegion?: string | undefined;
|
|
@@ -1811,7 +1811,7 @@ export interface ServerlessFunctionAggregationResponse {
|
|
|
1811
1811
|
*/
|
|
1812
1812
|
resourceId: string | undefined;
|
|
1813
1813
|
/**
|
|
1814
|
-
* <p>The cloud service provider associated with this serverless function aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1814
|
+
* <p>The cloud service provider associated with this serverless function aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1815
1815
|
* @public
|
|
1816
1816
|
*/
|
|
1817
1817
|
cloudProvider?: Provider | undefined;
|
|
@@ -1826,7 +1826,7 @@ export interface ServerlessFunctionAggregationResponse {
|
|
|
1826
1826
|
*/
|
|
1827
1827
|
cloudPartition?: string | undefined;
|
|
1828
1828
|
/**
|
|
1829
|
-
* <p>The cloud Region associated with this serverless function aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1829
|
+
* <p>The cloud Region associated with this serverless function aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1830
1830
|
* @public
|
|
1831
1831
|
*/
|
|
1832
1832
|
cloudRegion?: string | undefined;
|
|
@@ -1913,7 +1913,7 @@ export interface VmInstanceAggregationResponse {
|
|
|
1913
1913
|
*/
|
|
1914
1914
|
resourceId: string | undefined;
|
|
1915
1915
|
/**
|
|
1916
|
-
* <p>The cloud service provider associated with this VM instance aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>
|
|
1916
|
+
* <p>The cloud service provider associated with this VM instance aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Findings from Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
1917
1917
|
* @public
|
|
1918
1918
|
*/
|
|
1919
1919
|
cloudProvider?: Provider | undefined;
|
|
@@ -1928,7 +1928,7 @@ export interface VmInstanceAggregationResponse {
|
|
|
1928
1928
|
*/
|
|
1929
1929
|
cloudPartition?: string | undefined;
|
|
1930
1930
|
/**
|
|
1931
|
-
* <p>The cloud Region associated with this VM instance aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>
|
|
1931
|
+
* <p>The cloud Region associated with this VM instance aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
1932
1932
|
* @public
|
|
1933
1933
|
*/
|
|
1934
1934
|
cloudRegion?: string | undefined;
|
|
@@ -2861,7 +2861,7 @@ export interface AwsLambdaFunctionDetails {
|
|
|
2861
2861
|
*/
|
|
2862
2862
|
export interface ScopeConfigurationInput {
|
|
2863
2863
|
/**
|
|
2864
|
-
* <p>The type of scope
|
|
2864
|
+
* <p>The type of scope: <code>TENANT</code>, which scans all resources in the Azure tenant, or <code>SUBSCRIPTION</code>, which scans only the resources in the specified Azure subscriptions.</p>
|
|
2865
2865
|
* @public
|
|
2866
2866
|
*/
|
|
2867
2867
|
scopeType: ScopeType | undefined;
|
|
@@ -3455,7 +3455,7 @@ export interface FreeTrialInfo {
|
|
|
3455
3455
|
*/
|
|
3456
3456
|
status: FreeTrialStatus | undefined;
|
|
3457
3457
|
/**
|
|
3458
|
-
* <p>The cloud provider associated with the free trial information.</p>
|
|
3458
|
+
* <p>The cloud provider associated with the free trial information. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
3459
3459
|
* @public
|
|
3460
3460
|
*/
|
|
3461
3461
|
cloudProvider?: CloudProvider | undefined;
|
|
@@ -4875,6 +4875,53 @@ export interface ComputePlatform {
|
|
|
4875
4875
|
*/
|
|
4876
4876
|
version?: string | undefined;
|
|
4877
4877
|
}
|
|
4878
|
+
/**
|
|
4879
|
+
* <p>The scope of Google Cloud Platform (GCP) resources that Amazon Inspector scans for a single scanning type, including the scope level, the targeted resources, and the current state.</p>
|
|
4880
|
+
* @public
|
|
4881
|
+
*/
|
|
4882
|
+
export interface GcpCapabilityScope {
|
|
4883
|
+
/**
|
|
4884
|
+
* <p>The type of scope: <code>ORGANIZATION</code>, which scans all projects in the GCP organization, or <code>PROJECT</code>, which scans only the specified GCP projects.</p>
|
|
4885
|
+
* @public
|
|
4886
|
+
*/
|
|
4887
|
+
scopeType: ScopeType | undefined;
|
|
4888
|
+
/**
|
|
4889
|
+
* <p>The GCP project IDs to scan when <code>scopeType</code> is <code>PROJECT</code>. Not used when <code>scopeType</code> is <code>ORGANIZATION</code>. Amazon Inspector scans the organization of the Amazon Web Services Config connector.</p>
|
|
4890
|
+
* @public
|
|
4891
|
+
*/
|
|
4892
|
+
scopeValues?: string[] | undefined;
|
|
4893
|
+
/**
|
|
4894
|
+
* <p>The current state of the scope configuration.</p>
|
|
4895
|
+
* @public
|
|
4896
|
+
*/
|
|
4897
|
+
state?: ScopeState | undefined;
|
|
4898
|
+
/**
|
|
4899
|
+
* <p>The reason for the current state of the scope configuration.</p>
|
|
4900
|
+
* @public
|
|
4901
|
+
*/
|
|
4902
|
+
stateReason?: string | undefined;
|
|
4903
|
+
}
|
|
4904
|
+
/**
|
|
4905
|
+
* <p>The scope of Google Cloud Platform (GCP) resources that Amazon Inspector scans, defined separately for VM, container image, and serverless scanning. Returned as part of a connector's configuration.</p>
|
|
4906
|
+
* @public
|
|
4907
|
+
*/
|
|
4908
|
+
export interface GcpScopeConfiguration {
|
|
4909
|
+
/**
|
|
4910
|
+
* <p>The scope configuration for VM scanning.</p>
|
|
4911
|
+
* @public
|
|
4912
|
+
*/
|
|
4913
|
+
vmScanning?: GcpCapabilityScope | undefined;
|
|
4914
|
+
/**
|
|
4915
|
+
* <p>The scope configuration for container image scanning.</p>
|
|
4916
|
+
* @public
|
|
4917
|
+
*/
|
|
4918
|
+
containerImageScanning?: GcpCapabilityScope | undefined;
|
|
4919
|
+
/**
|
|
4920
|
+
* <p>The scope configuration for serverless scanning.</p>
|
|
4921
|
+
* @public
|
|
4922
|
+
*/
|
|
4923
|
+
serverlessScanning?: GcpCapabilityScope | undefined;
|
|
4924
|
+
}
|
|
4878
4925
|
/**
|
|
4879
4926
|
* <p>The health and connectivity status of a connector, including the last time the status was checked and any diagnostic message. Returned as part of the <code>Connector</code> structure.</p>
|
|
4880
4927
|
* @public
|
|
@@ -4971,6 +5018,16 @@ export interface Connector {
|
|
|
4971
5018
|
* @public
|
|
4972
5019
|
*/
|
|
4973
5020
|
autoInstallVMScanner?: boolean | undefined;
|
|
5021
|
+
/**
|
|
5022
|
+
* <p>The Google Cloud Platform (GCP) locations configured for the connector.</p>
|
|
5023
|
+
* @public
|
|
5024
|
+
*/
|
|
5025
|
+
gcpRegions?: string[] | undefined;
|
|
5026
|
+
/**
|
|
5027
|
+
* <p>The Google Cloud Platform (GCP) scope configuration for the connector.</p>
|
|
5028
|
+
* @public
|
|
5029
|
+
*/
|
|
5030
|
+
gcpScopeConfiguration?: GcpScopeConfiguration | undefined;
|
|
4974
5031
|
}
|
|
4975
5032
|
/**
|
|
4976
5033
|
* <p>A filter that matches connectors by connector ARN.</p>
|
|
@@ -5263,7 +5320,7 @@ export interface CoverageFilterCriteria {
|
|
|
5263
5320
|
*/
|
|
5264
5321
|
resourceId?: CoverageStringFilter[] | undefined;
|
|
5265
5322
|
/**
|
|
5266
|
-
* <p>An array of
|
|
5323
|
+
* <p>An array of resource types to return coverage statistics for. Valid values:</p> <ul> <li> <p>Amazon Web Services – <code>AWS_EC2_INSTANCE</code>, <code>AWS_LAMBDA_FUNCTION</code>, <code>AWS_ECR_CONTAINER_IMAGE</code>, <code>AWS_ECR_REPOSITORY</code>, <code>MACHINE_IMAGE</code>, <code>CODE_REPOSITORY</code>, or <code>AWS_ACCOUNT</code>.</p> </li> <li> <p>Microsoft Azure – <code>Microsoft.Compute/virtualMachines</code>, <code>Microsoft.ContainerRegistry/registries</code>, <code>Microsoft.ContainerRegistry/registry/containerRepository</code>, <code>Microsoft.ContainerRegistry/registry/containerImage</code>, or <code>Microsoft.Web/sites</code>.</p> </li> <li> <p>Google Cloud Platform (GCP) – <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, <code>artifactregistry.googleapis.com/Repository</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p> </li> </ul>
|
|
5267
5324
|
* @public
|
|
5268
5325
|
*/
|
|
5269
5326
|
resourceType?: CoverageStringFilter[] | undefined;
|
|
@@ -5353,17 +5410,17 @@ export interface CoverageFilterCriteria {
|
|
|
5353
5410
|
*/
|
|
5354
5411
|
lastScannedCommitId?: CoverageStringFilter[] | undefined;
|
|
5355
5412
|
/**
|
|
5356
|
-
* <p>The cloud provider to filter coverage results by.</p>
|
|
5413
|
+
* <p>The cloud provider to filter coverage results by. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
5357
5414
|
* @public
|
|
5358
5415
|
*/
|
|
5359
5416
|
cloudProvider?: CoverageStringFilter[] | undefined;
|
|
5360
5417
|
/**
|
|
5361
|
-
* <p>The cloud provider account ID to filter coverage results by.</p>
|
|
5418
|
+
* <p>The cloud provider account ID to filter coverage results by. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services account ID.</p> </li> <li> <p>An Azure subscription ID.</p> </li> <li> <p>A Google Cloud Platform (GCP) project ID, such as <code>my-project</code>.</p> </li> </ul>
|
|
5362
5419
|
* @public
|
|
5363
5420
|
*/
|
|
5364
5421
|
cloudProviderAccountId?: CoverageStringFilter[] | undefined;
|
|
5365
5422
|
/**
|
|
5366
|
-
* <p>The cloud provider region to filter coverage results by
|
|
5423
|
+
* <p>The cloud provider region to filter coverage results by. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
5367
5424
|
* @public
|
|
5368
5425
|
*/
|
|
5369
5426
|
cloudProviderRegion?: CoverageStringFilter[] | undefined;
|
|
@@ -5403,7 +5460,7 @@ export interface CoverageFilterCriteria {
|
|
|
5403
5460
|
*/
|
|
5404
5461
|
cloudServerlessFunctionTags?: CoverageMapFilter[] | undefined;
|
|
5405
5462
|
/**
|
|
5406
|
-
* <p>The cloud provider organization ID to filter coverage results by.</p>
|
|
5463
|
+
* <p>The cloud provider organization ID to filter coverage results by. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Organizations organization ID.</p> </li> <li> <p>An Azure tenant ID.</p> </li> <li> <p>A numeric Google Cloud Platform (GCP) organization ID.</p> </li> </ul>
|
|
5407
5464
|
* @public
|
|
5408
5465
|
*/
|
|
5409
5466
|
cloudProviderOrgId?: CoverageStringFilter[] | undefined;
|
|
@@ -5627,7 +5684,7 @@ export interface ResourceScanMetadata {
|
|
|
5627
5684
|
*/
|
|
5628
5685
|
export interface CoveredResource {
|
|
5629
5686
|
/**
|
|
5630
|
-
* <p>The type of the covered resource
|
|
5687
|
+
* <p>The type of the covered resource. Valid values:</p> <ul> <li> <p>Amazon Web Services – <code>AWS_EC2_INSTANCE</code>, <code>AWS_LAMBDA_FUNCTION</code>, <code>AWS_ECR_CONTAINER_IMAGE</code>, <code>AWS_ECR_REPOSITORY</code>, <code>MACHINE_IMAGE</code>, <code>CODE_REPOSITORY</code>, or <code>AWS_ACCOUNT</code>.</p> </li> <li> <p>Microsoft Azure – <code>Microsoft.Compute/virtualMachines</code>, <code>Microsoft.ContainerRegistry/registries</code>, <code>Microsoft.ContainerRegistry/registry/containerRepository</code>, <code>Microsoft.ContainerRegistry/registry/containerImage</code>, or <code>Microsoft.Web/sites</code>.</p> </li> <li> <p>Google Cloud Platform (GCP) – <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, <code>artifactregistry.googleapis.com/Repository</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p> </li> </ul>
|
|
5631
5688
|
* @public
|
|
5632
5689
|
*/
|
|
5633
5690
|
resourceType: CoverageResourceType | undefined;
|
|
@@ -5667,22 +5724,22 @@ export interface CoveredResource {
|
|
|
5667
5724
|
*/
|
|
5668
5725
|
scanMode?: ScanMode | undefined;
|
|
5669
5726
|
/**
|
|
5670
|
-
* <p>The cloud provider of the covered resource.</p>
|
|
5727
|
+
* <p>The cloud provider of the covered resource. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
5671
5728
|
* @public
|
|
5672
5729
|
*/
|
|
5673
5730
|
provider?: Provider | undefined;
|
|
5674
5731
|
/**
|
|
5675
|
-
* <p>The cloud provider account ID of the covered resource.</p>
|
|
5732
|
+
* <p>The cloud provider account ID of the covered resource. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services account ID.</p> </li> <li> <p>An Azure subscription ID.</p> </li> <li> <p>A Google Cloud Platform (GCP) project ID, such as <code>my-project</code>.</p> </li> </ul>
|
|
5676
5733
|
* @public
|
|
5677
5734
|
*/
|
|
5678
5735
|
providerAccountId?: string | undefined;
|
|
5679
5736
|
/**
|
|
5680
|
-
* <p>The cloud provider organization ID of the covered resource.</p>
|
|
5737
|
+
* <p>The cloud provider organization ID of the covered resource. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Organizations organization ID.</p> </li> <li> <p>An Azure tenant ID.</p> </li> <li> <p>A numeric Google Cloud Platform (GCP) organization ID.</p> </li> </ul>
|
|
5681
5738
|
* @public
|
|
5682
5739
|
*/
|
|
5683
5740
|
providerOrgId?: string | undefined;
|
|
5684
5741
|
/**
|
|
5685
|
-
* <p>The cloud provider region of the covered resource
|
|
5742
|
+
* <p>The cloud provider region of the covered resource. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
5686
5743
|
* @public
|
|
5687
5744
|
*/
|
|
5688
5745
|
providerRegion?: string | undefined;
|
|
@@ -5882,11 +5939,74 @@ export interface CreateCodeSecurityScanConfigurationResponse {
|
|
|
5882
5939
|
*/
|
|
5883
5940
|
scanConfigurationArn: string | undefined;
|
|
5884
5941
|
}
|
|
5942
|
+
/**
|
|
5943
|
+
* <p>The scope of Google Cloud Platform (GCP) resources to scan for a single scanning type. Provide this as part of a <code>GcpScopeConfigurationInput</code> when you create or update a connector.</p>
|
|
5944
|
+
* @public
|
|
5945
|
+
*/
|
|
5946
|
+
export interface GcpCapabilityScopeInput {
|
|
5947
|
+
/**
|
|
5948
|
+
* <p>The type of scope: <code>ORGANIZATION</code>, which scans all projects in the GCP organization, or <code>PROJECT</code>, which scans only the specified GCP projects.</p>
|
|
5949
|
+
* @public
|
|
5950
|
+
*/
|
|
5951
|
+
scopeType: ScopeType | undefined;
|
|
5952
|
+
/**
|
|
5953
|
+
* <p>The GCP project IDs to scan. Required when <code>scopeType</code> is <code>PROJECT</code>. Don't specify scope values when <code>scopeType</code> is <code>ORGANIZATION</code>. Amazon Inspector scans the organization of the Amazon Web Services Config connector.</p>
|
|
5954
|
+
* @public
|
|
5955
|
+
*/
|
|
5956
|
+
scopeValues?: string[] | undefined;
|
|
5957
|
+
}
|
|
5958
|
+
/**
|
|
5959
|
+
* <p>The scope of Google Cloud Platform (GCP) resources to scan, defined separately for VM, container image, and serverless scanning. Provide this when you create or update a GCP connector.</p>
|
|
5960
|
+
* @public
|
|
5961
|
+
*/
|
|
5962
|
+
export interface GcpScopeConfigurationInput {
|
|
5963
|
+
/**
|
|
5964
|
+
* <p>The scope configuration input for VM scanning.</p>
|
|
5965
|
+
* @public
|
|
5966
|
+
*/
|
|
5967
|
+
vmScanning?: GcpCapabilityScopeInput | undefined;
|
|
5968
|
+
/**
|
|
5969
|
+
* <p>The scope configuration input for container image scanning.</p>
|
|
5970
|
+
* @public
|
|
5971
|
+
*/
|
|
5972
|
+
containerImageScanning?: GcpCapabilityScopeInput | undefined;
|
|
5973
|
+
/**
|
|
5974
|
+
* <p>The scope configuration input for serverless scanning.</p>
|
|
5975
|
+
* @public
|
|
5976
|
+
*/
|
|
5977
|
+
serverlessScanning?: GcpCapabilityScopeInput | undefined;
|
|
5978
|
+
}
|
|
5979
|
+
/**
|
|
5980
|
+
* <p>The configuration details specific to Google Cloud Platform (GCP) for creating a connector, including the Amazon Web Services Config connector association, scan scope, and locations to scan.</p>
|
|
5981
|
+
* @public
|
|
5982
|
+
*/
|
|
5983
|
+
export interface GcpProviderDetailCreate {
|
|
5984
|
+
/**
|
|
5985
|
+
* <p>The ARN of the Amazon Web Services Config connector to associate with this connector.</p>
|
|
5986
|
+
* @public
|
|
5987
|
+
*/
|
|
5988
|
+
awsConfigConnectorArn: string | undefined;
|
|
5989
|
+
/**
|
|
5990
|
+
* <p>The scope configuration that defines which GCP resources to scan.</p>
|
|
5991
|
+
* @public
|
|
5992
|
+
*/
|
|
5993
|
+
scopeConfiguration: GcpScopeConfigurationInput | undefined;
|
|
5994
|
+
/**
|
|
5995
|
+
* <p>The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. Specify <code>ALL</code> to scan all locations.</p>
|
|
5996
|
+
* @public
|
|
5997
|
+
*/
|
|
5998
|
+
gcpRegions: string[] | undefined;
|
|
5999
|
+
/**
|
|
6000
|
+
* <p>Specifies whether to automatically install the VM scanner on connected GCP resources. Defaults to <code>true</code>.</p>
|
|
6001
|
+
* @public
|
|
6002
|
+
*/
|
|
6003
|
+
autoInstallVMScanner?: boolean | undefined;
|
|
6004
|
+
}
|
|
5885
6005
|
/**
|
|
5886
6006
|
* <p>The provider-specific configuration details for creating a connector.</p>
|
|
5887
6007
|
* @public
|
|
5888
6008
|
*/
|
|
5889
|
-
export type ProviderDetailCreate = ProviderDetailCreate.AzureMember | ProviderDetailCreate.$UnknownMember;
|
|
6009
|
+
export type ProviderDetailCreate = ProviderDetailCreate.AzureMember | ProviderDetailCreate.GcpMember | ProviderDetailCreate.$UnknownMember;
|
|
5890
6010
|
/**
|
|
5891
6011
|
* @public
|
|
5892
6012
|
*/
|
|
@@ -5897,6 +6017,16 @@ export declare namespace ProviderDetailCreate {
|
|
|
5897
6017
|
*/
|
|
5898
6018
|
interface AzureMember {
|
|
5899
6019
|
azure: AzureProviderDetailCreate;
|
|
6020
|
+
gcp?: never;
|
|
6021
|
+
$unknown?: never;
|
|
6022
|
+
}
|
|
6023
|
+
/**
|
|
6024
|
+
* <p>The details specific to Google Cloud Platform (GCP) for creating a connector.</p>
|
|
6025
|
+
* @public
|
|
6026
|
+
*/
|
|
6027
|
+
interface GcpMember {
|
|
6028
|
+
azure?: never;
|
|
6029
|
+
gcp: GcpProviderDetailCreate;
|
|
5900
6030
|
$unknown?: never;
|
|
5901
6031
|
}
|
|
5902
6032
|
/**
|
|
@@ -5904,6 +6034,7 @@ export declare namespace ProviderDetailCreate {
|
|
|
5904
6034
|
*/
|
|
5905
6035
|
interface $UnknownMember {
|
|
5906
6036
|
azure?: never;
|
|
6037
|
+
gcp?: never;
|
|
5907
6038
|
$unknown: [string, any];
|
|
5908
6039
|
}
|
|
5909
6040
|
/**
|
|
@@ -5912,6 +6043,7 @@ export declare namespace ProviderDetailCreate {
|
|
|
5912
6043
|
*/
|
|
5913
6044
|
interface Visitor<T> {
|
|
5914
6045
|
azure: (value: AzureProviderDetailCreate) => T;
|
|
6046
|
+
gcp: (value: GcpProviderDetailCreate) => T;
|
|
5915
6047
|
_: (name: string, value: any) => T;
|
|
5916
6048
|
}
|
|
5917
6049
|
}
|
|
@@ -6078,7 +6210,7 @@ export interface FilterCriteria {
|
|
|
6078
6210
|
*/
|
|
6079
6211
|
inspectorScore?: NumberFilter[] | undefined;
|
|
6080
6212
|
/**
|
|
6081
|
-
* <p>Details on the resource types used to filter findings
|
|
6213
|
+
* <p>Details on the resource types used to filter findings. For Google Cloud Platform (GCP) resources, the resource type is <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p>
|
|
6082
6214
|
* @public
|
|
6083
6215
|
*/
|
|
6084
6216
|
resourceType?: StringFilter[] | undefined;
|
|
@@ -6527,7 +6659,7 @@ export interface ResourceFilterCriteria {
|
|
|
6527
6659
|
*/
|
|
6528
6660
|
resourceId?: ResourceStringFilter[] | undefined;
|
|
6529
6661
|
/**
|
|
6530
|
-
* <p>The resource types used as resource filter criteria
|
|
6662
|
+
* <p>The resource types used as resource filter criteria. Valid values:</p> <ul> <li> <p>Amazon Web Services – <code>AWS_EC2_INSTANCE</code>, <code>AWS_ECR_CONTAINER_IMAGE</code>, <code>AWS_LAMBDA_FUNCTION</code>, or <code>MACHINE_IMAGE</code>.</p> </li> <li> <p>Microsoft Azure – <code>Microsoft.Compute/virtualMachines</code>, <code>Microsoft.ContainerRegistry/registry/containerImage</code>, or <code>Microsoft.Web/sites</code>.</p> </li> <li> <p>Google Cloud Platform (GCP) – <code>compute.googleapis.com/Instance</code>, <code>cloudfunctions.googleapis.com/Function</code>, or <code>artifactregistry.googleapis.com/DockerImage</code>.</p> </li> </ul>
|
|
6531
6663
|
* @public
|
|
6532
6664
|
*/
|
|
6533
6665
|
resourceType?: ResourceStringFilter[] | undefined;
|
|
@@ -6557,22 +6689,22 @@ export interface ResourceFilterCriteria {
|
|
|
6557
6689
|
*/
|
|
6558
6690
|
lambdaFunctionTags?: ResourceMapFilter[] | undefined;
|
|
6559
6691
|
/**
|
|
6560
|
-
* <p>The cloud providers used as resource filter criteria.</p>
|
|
6692
|
+
* <p>The cloud providers used as resource filter criteria. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
6561
6693
|
* @public
|
|
6562
6694
|
*/
|
|
6563
6695
|
cloudProvider?: ResourceStringFilter[] | undefined;
|
|
6564
6696
|
/**
|
|
6565
|
-
* <p>The cloud provider account IDs used as resource filter criteria.</p>
|
|
6697
|
+
* <p>The cloud provider account IDs used as resource filter criteria. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services account ID.</p> </li> <li> <p>An Azure subscription ID.</p> </li> <li> <p>A Google Cloud Platform (GCP) project ID.</p> </li> </ul>
|
|
6566
6698
|
* @public
|
|
6567
6699
|
*/
|
|
6568
6700
|
cloudProviderAccountId?: ResourceStringFilter[] | undefined;
|
|
6569
6701
|
/**
|
|
6570
|
-
* <p>The cloud provider organization IDs used as resource filter criteria.</p>
|
|
6702
|
+
* <p>The cloud provider organization IDs used as resource filter criteria. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Organizations organization ID.</p> </li> <li> <p>An Azure tenant ID.</p> </li> <li> <p>A Google Cloud Platform (GCP) organization ID.</p> </li> </ul>
|
|
6571
6703
|
* @public
|
|
6572
6704
|
*/
|
|
6573
6705
|
cloudProviderOrgId?: ResourceStringFilter[] | undefined;
|
|
6574
6706
|
/**
|
|
6575
|
-
* <p>The cloud provider regions used as resource filter criteria
|
|
6707
|
+
* <p>The cloud provider regions used as resource filter criteria. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> <li> <p>A Google Cloud Platform (GCP) location, such as the region <code>us-central1</code> or the zone <code>us-central1-a</code>.</p> </li> </ul>
|
|
6576
6708
|
* @public
|
|
6577
6709
|
*/
|
|
6578
6710
|
cloudProviderRegion?: ResourceStringFilter[] | undefined;
|
|
@@ -7821,17 +7953,17 @@ export interface Resource {
|
|
|
7821
7953
|
*/
|
|
7822
7954
|
details?: ResourceDetails | undefined;
|
|
7823
7955
|
/**
|
|
7824
|
-
* <p>The cloud provider of the resource.</p>
|
|
7956
|
+
* <p>The cloud provider of the resource. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Microsoft Azure resources.</p> </li> <li> <p> <code>GCP</code> – Google Cloud Platform (GCP) resources.</p> </li> </ul>
|
|
7825
7957
|
* @public
|
|
7826
7958
|
*/
|
|
7827
7959
|
provider?: Provider | undefined;
|
|
7828
7960
|
/**
|
|
7829
|
-
* <p>The cloud provider account ID of the resource.</p>
|
|
7961
|
+
* <p>The cloud provider account ID of the resource. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services account ID.</p> </li> <li> <p>An Azure subscription ID.</p> </li> <li> <p>A Google Cloud Platform (GCP) project ID, such as <code>my-project</code>.</p> </li> </ul>
|
|
7830
7962
|
* @public
|
|
7831
7963
|
*/
|
|
7832
7964
|
providerAccountId?: string | undefined;
|
|
7833
7965
|
/**
|
|
7834
|
-
* <p>The cloud provider organization ID of the resource.</p>
|
|
7966
|
+
* <p>The cloud provider organization ID of the resource. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Organizations organization ID.</p> </li> <li> <p>An Azure tenant ID.</p> </li> <li> <p>A numeric Google Cloud Platform (GCP) organization ID.</p> </li> </ul>
|
|
7835
7967
|
* @public
|
|
7836
7968
|
*/
|
|
7837
7969
|
providerOrgId?: string | undefined;
|
|
@@ -7947,6 +8079,27 @@ export interface Finding {
|
|
|
7947
8079
|
*/
|
|
7948
8080
|
epss?: EpssDetails | undefined;
|
|
7949
8081
|
}
|
|
8082
|
+
/**
|
|
8083
|
+
* <p>The configuration details specific to Google Cloud Platform (GCP) for updating a connector, including the scan scope and locations to scan.</p>
|
|
8084
|
+
* @public
|
|
8085
|
+
*/
|
|
8086
|
+
export interface GcpProviderDetailUpdate {
|
|
8087
|
+
/**
|
|
8088
|
+
* <p>The updated GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. Specify <code>ALL</code> to scan all locations.</p>
|
|
8089
|
+
* @public
|
|
8090
|
+
*/
|
|
8091
|
+
gcpRegions?: string[] | undefined;
|
|
8092
|
+
/**
|
|
8093
|
+
* <p>The updated scope configuration that defines which GCP resources to scan.</p>
|
|
8094
|
+
* @public
|
|
8095
|
+
*/
|
|
8096
|
+
scopeConfiguration?: GcpScopeConfigurationInput | undefined;
|
|
8097
|
+
/**
|
|
8098
|
+
* <p>Specifies whether to automatically install the VM scanner on connected GCP resources.</p>
|
|
8099
|
+
* @public
|
|
8100
|
+
*/
|
|
8101
|
+
autoInstallVMScanner?: boolean | undefined;
|
|
8102
|
+
}
|
|
7950
8103
|
/**
|
|
7951
8104
|
* @public
|
|
7952
8105
|
*/
|
|
@@ -8594,134 +8747,3 @@ export interface Permission {
|
|
|
8594
8747
|
*/
|
|
8595
8748
|
operation: Operation | undefined;
|
|
8596
8749
|
}
|
|
8597
|
-
/**
|
|
8598
|
-
* @public
|
|
8599
|
-
*/
|
|
8600
|
-
export interface ListAccountPermissionsResponse {
|
|
8601
|
-
/**
|
|
8602
|
-
* <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
|
|
8603
|
-
* @public
|
|
8604
|
-
*/
|
|
8605
|
-
permissions: Permission[] | undefined;
|
|
8606
|
-
/**
|
|
8607
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the <code>NextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
8608
|
-
* @public
|
|
8609
|
-
*/
|
|
8610
|
-
nextToken?: string | undefined;
|
|
8611
|
-
}
|
|
8612
|
-
/**
|
|
8613
|
-
* <p>A list of CIS scan configurations filter criteria.</p>
|
|
8614
|
-
* @public
|
|
8615
|
-
*/
|
|
8616
|
-
export interface ListCisScanConfigurationsFilterCriteria {
|
|
8617
|
-
/**
|
|
8618
|
-
* <p>The list of scan name filters.</p>
|
|
8619
|
-
* @public
|
|
8620
|
-
*/
|
|
8621
|
-
scanNameFilters?: CisStringFilter[] | undefined;
|
|
8622
|
-
/**
|
|
8623
|
-
* <p>The list of target resource tag filters.</p>
|
|
8624
|
-
* @public
|
|
8625
|
-
*/
|
|
8626
|
-
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
8627
|
-
/**
|
|
8628
|
-
* <p>The list of scan configuration ARN filters.</p>
|
|
8629
|
-
* @public
|
|
8630
|
-
*/
|
|
8631
|
-
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
8632
|
-
}
|
|
8633
|
-
/**
|
|
8634
|
-
* @public
|
|
8635
|
-
*/
|
|
8636
|
-
export interface ListCisScanConfigurationsRequest {
|
|
8637
|
-
/**
|
|
8638
|
-
* <p>The CIS scan configuration filter criteria.</p>
|
|
8639
|
-
* @public
|
|
8640
|
-
*/
|
|
8641
|
-
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
8642
|
-
/**
|
|
8643
|
-
* <p>The CIS scan configuration sort by order.</p>
|
|
8644
|
-
* @public
|
|
8645
|
-
*/
|
|
8646
|
-
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
8647
|
-
/**
|
|
8648
|
-
* <p>The CIS scan configuration sort order order.</p>
|
|
8649
|
-
* @public
|
|
8650
|
-
*/
|
|
8651
|
-
sortOrder?: CisSortOrder | undefined;
|
|
8652
|
-
/**
|
|
8653
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
8654
|
-
* @public
|
|
8655
|
-
*/
|
|
8656
|
-
nextToken?: string | undefined;
|
|
8657
|
-
/**
|
|
8658
|
-
* <p>The maximum number of CIS scan configurations to be returned in a single page of results.</p>
|
|
8659
|
-
* @public
|
|
8660
|
-
*/
|
|
8661
|
-
maxResults?: number | undefined;
|
|
8662
|
-
}
|
|
8663
|
-
/**
|
|
8664
|
-
* @public
|
|
8665
|
-
*/
|
|
8666
|
-
export interface ListCisScanConfigurationsResponse {
|
|
8667
|
-
/**
|
|
8668
|
-
* <p>The CIS scan configuration scan configurations.</p>
|
|
8669
|
-
* @public
|
|
8670
|
-
*/
|
|
8671
|
-
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
8672
|
-
/**
|
|
8673
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
8674
|
-
* @public
|
|
8675
|
-
*/
|
|
8676
|
-
nextToken?: string | undefined;
|
|
8677
|
-
}
|
|
8678
|
-
/**
|
|
8679
|
-
* @public
|
|
8680
|
-
*/
|
|
8681
|
-
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
8682
|
-
/**
|
|
8683
|
-
* <p>The scan ARN.</p>
|
|
8684
|
-
* @public
|
|
8685
|
-
*/
|
|
8686
|
-
scanArn: string | undefined;
|
|
8687
|
-
/**
|
|
8688
|
-
* <p>The filter criteria.</p>
|
|
8689
|
-
* @public
|
|
8690
|
-
*/
|
|
8691
|
-
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
8692
|
-
/**
|
|
8693
|
-
* <p>The sort by order.</p>
|
|
8694
|
-
* @public
|
|
8695
|
-
*/
|
|
8696
|
-
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
8697
|
-
/**
|
|
8698
|
-
* <p>The sort order.</p>
|
|
8699
|
-
* @public
|
|
8700
|
-
*/
|
|
8701
|
-
sortOrder?: CisSortOrder | undefined;
|
|
8702
|
-
/**
|
|
8703
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
8704
|
-
* @public
|
|
8705
|
-
*/
|
|
8706
|
-
nextToken?: string | undefined;
|
|
8707
|
-
/**
|
|
8708
|
-
* <p>The maximum number of scan results aggregated by checks to be returned in a single page of results.</p>
|
|
8709
|
-
* @public
|
|
8710
|
-
*/
|
|
8711
|
-
maxResults?: number | undefined;
|
|
8712
|
-
}
|
|
8713
|
-
/**
|
|
8714
|
-
* @public
|
|
8715
|
-
*/
|
|
8716
|
-
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
8717
|
-
/**
|
|
8718
|
-
* <p>The check aggregations.</p>
|
|
8719
|
-
* @public
|
|
8720
|
-
*/
|
|
8721
|
-
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
8722
|
-
/**
|
|
8723
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
nextToken?: string | undefined;
|
|
8727
|
-
}
|