aws-sdk-inspector2 1.75.0 → 1.76.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +1864 -105
- data/lib/aws-sdk-inspector2/client_api.rb +618 -1
- data/lib/aws-sdk-inspector2/types.rb +2354 -159
- data/lib/aws-sdk-inspector2/waiters.rb +225 -0
- data/lib/aws-sdk-inspector2.rb +2 -1
- data/sig/client.rbs +481 -11
- data/sig/params.rbs +197 -0
- data/sig/types.rbs +518 -20
- data/sig/waiters.rbs +129 -0
- metadata +2 -1
data/sig/types.rbs
CHANGED
|
@@ -22,7 +22,7 @@ module Aws::Inspector2
|
|
|
22
22
|
|
|
23
23
|
class AccountAggregation
|
|
24
24
|
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
|
25
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
25
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
26
26
|
attr_accessor sort_order: ("ASC" | "DESC")
|
|
27
27
|
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
28
28
|
SENSITIVE: []
|
|
@@ -56,6 +56,9 @@ module Aws::Inspector2
|
|
|
56
56
|
attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregation
|
|
57
57
|
attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregation
|
|
58
58
|
attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregation
|
|
59
|
+
attr_accessor vm_instance_aggregation: Types::VmInstanceAggregation
|
|
60
|
+
attr_accessor container_image_aggregation: Types::ContainerImageAggregation
|
|
61
|
+
attr_accessor serverless_function_aggregation: Types::ServerlessFunctionAggregation
|
|
59
62
|
attr_accessor unknown: untyped
|
|
60
63
|
SENSITIVE: []
|
|
61
64
|
|
|
@@ -83,6 +86,12 @@ module Aws::Inspector2
|
|
|
83
86
|
end
|
|
84
87
|
class CodeRepositoryAggregation < AggregationRequest
|
|
85
88
|
end
|
|
89
|
+
class VmInstanceAggregation < AggregationRequest
|
|
90
|
+
end
|
|
91
|
+
class ContainerImageAggregation < AggregationRequest
|
|
92
|
+
end
|
|
93
|
+
class ServerlessFunctionAggregation < AggregationRequest
|
|
94
|
+
end
|
|
86
95
|
class Unknown < AggregationRequest
|
|
87
96
|
end
|
|
88
97
|
end
|
|
@@ -100,6 +109,9 @@ module Aws::Inspector2
|
|
|
100
109
|
attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregationResponse
|
|
101
110
|
attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregationResponse
|
|
102
111
|
attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregationResponse
|
|
112
|
+
attr_accessor vm_instance_aggregation: Types::VmInstanceAggregationResponse
|
|
113
|
+
attr_accessor container_image_aggregation: Types::ContainerImageAggregationResponse
|
|
114
|
+
attr_accessor serverless_function_aggregation: Types::ServerlessFunctionAggregationResponse
|
|
103
115
|
attr_accessor unknown: untyped
|
|
104
116
|
SENSITIVE: []
|
|
105
117
|
|
|
@@ -127,6 +139,12 @@ module Aws::Inspector2
|
|
|
127
139
|
end
|
|
128
140
|
class CodeRepositoryAggregation < AggregationResponse
|
|
129
141
|
end
|
|
142
|
+
class VmInstanceAggregation < AggregationResponse
|
|
143
|
+
end
|
|
144
|
+
class ContainerImageAggregation < AggregationResponse
|
|
145
|
+
end
|
|
146
|
+
class ServerlessFunctionAggregation < AggregationResponse
|
|
147
|
+
end
|
|
130
148
|
class Unknown < AggregationResponse
|
|
131
149
|
end
|
|
132
150
|
end
|
|
@@ -141,6 +159,11 @@ module Aws::Inspector2
|
|
|
141
159
|
class AmiAggregationResponse
|
|
142
160
|
attr_accessor ami: ::String
|
|
143
161
|
attr_accessor account_id: ::String
|
|
162
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE")
|
|
163
|
+
attr_accessor cloud_partition: ::String
|
|
164
|
+
attr_accessor cloud_region: ::String
|
|
165
|
+
attr_accessor cloud_org_id: ::String
|
|
166
|
+
attr_accessor cloud_account_id: ::String
|
|
144
167
|
attr_accessor severity_counts: Types::SeverityCounts
|
|
145
168
|
attr_accessor affected_instances: ::Integer
|
|
146
169
|
SENSITIVE: []
|
|
@@ -179,6 +202,12 @@ module Aws::Inspector2
|
|
|
179
202
|
SENSITIVE: []
|
|
180
203
|
end
|
|
181
204
|
|
|
205
|
+
class AwsConfigConnectorArnFilter
|
|
206
|
+
attr_accessor comparison: ("EQUALS")
|
|
207
|
+
attr_accessor value: ::String
|
|
208
|
+
SENSITIVE: []
|
|
209
|
+
end
|
|
210
|
+
|
|
182
211
|
class AwsEc2InstanceDetails
|
|
183
212
|
attr_accessor type: ::String
|
|
184
213
|
attr_accessor image_id: ::String
|
|
@@ -253,7 +282,7 @@ module Aws::Inspector2
|
|
|
253
282
|
|
|
254
283
|
class AwsLambdaFunctionDetails
|
|
255
284
|
attr_accessor function_name: ::String
|
|
256
|
-
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2" | "DOTNET_10" | "NODEJS_24_X")
|
|
285
|
+
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2" | "DOTNET_10" | "NODEJS_24_X" | "NODEJS_22_X" | "JAVA_21" | "JAVA_25")
|
|
257
286
|
attr_accessor code_sha_256: ::String
|
|
258
287
|
attr_accessor version: ::String
|
|
259
288
|
attr_accessor execution_role_arn: ::String
|
|
@@ -265,6 +294,35 @@ module Aws::Inspector2
|
|
|
265
294
|
SENSITIVE: []
|
|
266
295
|
end
|
|
267
296
|
|
|
297
|
+
class AzureProviderDetailCreate
|
|
298
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
299
|
+
attr_accessor scope_configuration: Types::AzureScopeConfigurationInput
|
|
300
|
+
attr_accessor azure_regions: ::Array[::String]
|
|
301
|
+
attr_accessor auto_install_vm_scanner: bool
|
|
302
|
+
SENSITIVE: []
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
class AzureProviderDetailUpdate
|
|
306
|
+
attr_accessor azure_regions: ::Array[::String]
|
|
307
|
+
attr_accessor scope_configuration: Types::AzureScopeConfigurationInput
|
|
308
|
+
attr_accessor auto_install_vm_scanner: bool
|
|
309
|
+
SENSITIVE: []
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class AzureScopeConfiguration
|
|
313
|
+
attr_accessor vm_scanning: Types::ScopeConfiguration
|
|
314
|
+
attr_accessor container_image_scanning: Types::ScopeConfiguration
|
|
315
|
+
attr_accessor serverless_scanning: Types::ScopeConfiguration
|
|
316
|
+
SENSITIVE: []
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class AzureScopeConfigurationInput
|
|
320
|
+
attr_accessor vm_scanning: Types::ScopeConfigurationInput
|
|
321
|
+
attr_accessor container_image_scanning: Types::ScopeConfigurationInput
|
|
322
|
+
attr_accessor serverless_scanning: Types::ScopeConfigurationInput
|
|
323
|
+
SENSITIVE: []
|
|
324
|
+
end
|
|
325
|
+
|
|
268
326
|
class BadRequestException
|
|
269
327
|
attr_accessor message: ::String
|
|
270
328
|
SENSITIVE: []
|
|
@@ -731,6 +789,129 @@ module Aws::Inspector2
|
|
|
731
789
|
SENSITIVE: []
|
|
732
790
|
end
|
|
733
791
|
|
|
792
|
+
class Connector
|
|
793
|
+
attr_accessor connector_arn: ::String
|
|
794
|
+
attr_accessor name: ::String
|
|
795
|
+
attr_accessor description: ::String
|
|
796
|
+
attr_accessor provider: ("AZURE")
|
|
797
|
+
attr_accessor enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "DELETED" | "FAILED_TO_DELETE")
|
|
798
|
+
attr_accessor enablement_status_reason: ::String
|
|
799
|
+
attr_accessor health: Types::ConnectorHealth
|
|
800
|
+
attr_accessor created_at: ::Time
|
|
801
|
+
attr_accessor updated_at: ::Time
|
|
802
|
+
attr_accessor azure_regions: ::Array[::String]
|
|
803
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
804
|
+
attr_accessor scope_configuration: Types::AzureScopeConfiguration
|
|
805
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
806
|
+
attr_accessor auto_install_vm_scanner: bool
|
|
807
|
+
SENSITIVE: []
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
class ConnectorArnFilter
|
|
811
|
+
attr_accessor comparison: ("EQUALS")
|
|
812
|
+
attr_accessor value: ::String
|
|
813
|
+
SENSITIVE: []
|
|
814
|
+
end
|
|
815
|
+
|
|
816
|
+
class ConnectorContainerImageScanConfiguration
|
|
817
|
+
attr_accessor push_duration: ("LIFETIME" | "DAYS_3" | "DAYS_7" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
|
|
818
|
+
attr_accessor pull_duration: ("DAYS_3" | "DAYS_7" | "DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
|
|
819
|
+
SENSITIVE: []
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
class ConnectorFilterCriteria
|
|
823
|
+
attr_accessor connector_arns: ::Array[Types::ConnectorArnFilter]
|
|
824
|
+
attr_accessor accounts: ::Array[Types::StringFilter]
|
|
825
|
+
attr_accessor aws_config_connector_arns: ::Array[Types::AwsConfigConnectorArnFilter]
|
|
826
|
+
attr_accessor connector_type: ::Array[Types::ConnectorTypeFilter]
|
|
827
|
+
attr_accessor provider: ::Array[Types::ProviderFilter]
|
|
828
|
+
SENSITIVE: []
|
|
829
|
+
end
|
|
830
|
+
|
|
831
|
+
class ConnectorHealth
|
|
832
|
+
attr_accessor connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN")
|
|
833
|
+
attr_accessor last_checked_at: ::Time
|
|
834
|
+
attr_accessor message: ::String
|
|
835
|
+
SENSITIVE: []
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
class ConnectorScanConfiguration
|
|
839
|
+
attr_accessor container_image_scanning: Types::ConnectorContainerImageScanConfiguration
|
|
840
|
+
SENSITIVE: []
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
class ConnectorScanConfigurationItem
|
|
844
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
845
|
+
attr_accessor connector_arns: ::Array[::String]
|
|
846
|
+
attr_accessor scan_configuration: Types::ConnectorScanConfiguration
|
|
847
|
+
SENSITIVE: []
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
class ConnectorTypeFilter
|
|
851
|
+
attr_accessor comparison: ("EQUALS")
|
|
852
|
+
attr_accessor value: ("CUSTOMER_MANAGED" | "SERVICE_LINKED")
|
|
853
|
+
SENSITIVE: []
|
|
854
|
+
end
|
|
855
|
+
|
|
856
|
+
class ContainerImageAggregation
|
|
857
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
|
858
|
+
attr_accessor image_digests: ::Array[Types::StringFilter]
|
|
859
|
+
attr_accessor repositories: ::Array[Types::StringFilter]
|
|
860
|
+
attr_accessor registries: ::Array[Types::StringFilter]
|
|
861
|
+
attr_accessor architectures: ::Array[Types::StringFilter]
|
|
862
|
+
attr_accessor image_tags: ::Array[Types::StringFilter]
|
|
863
|
+
attr_accessor cloud_providers: ::Array[Types::StringFilter]
|
|
864
|
+
attr_accessor cloud_partitions: ::Array[Types::StringFilter]
|
|
865
|
+
attr_accessor cloud_regions: ::Array[Types::StringFilter]
|
|
866
|
+
attr_accessor cloud_org_ids: ::Array[Types::StringFilter]
|
|
867
|
+
attr_accessor cloud_account_ids: ::Array[Types::StringFilter]
|
|
868
|
+
attr_accessor last_in_use_at: ::Array[Types::DateFilter]
|
|
869
|
+
attr_accessor in_use_count: ::Array[Types::NumberFilter]
|
|
870
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
|
871
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
872
|
+
SENSITIVE: []
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
class ContainerImageAggregationResponse
|
|
876
|
+
attr_accessor resource_id: ::String
|
|
877
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE")
|
|
878
|
+
attr_accessor cloud_account_id: ::String
|
|
879
|
+
attr_accessor cloud_partition: ::String
|
|
880
|
+
attr_accessor cloud_region: ::String
|
|
881
|
+
attr_accessor cloud_org_id: ::String
|
|
882
|
+
attr_accessor image_digest: ::String
|
|
883
|
+
attr_accessor repository: ::String
|
|
884
|
+
attr_accessor registry: ::String
|
|
885
|
+
attr_accessor architecture: ::String
|
|
886
|
+
attr_accessor image_tags: ::Array[::String]
|
|
887
|
+
attr_accessor account_id: ::String
|
|
888
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
|
889
|
+
attr_accessor last_in_use_at: ::Time
|
|
890
|
+
attr_accessor in_use_count: ::Integer
|
|
891
|
+
attr_accessor exploit_available_active_findings_count: ::Integer
|
|
892
|
+
attr_accessor fix_available_active_findings_count: ::Integer
|
|
893
|
+
SENSITIVE: []
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
class ContainerImageMetadata
|
|
897
|
+
attr_accessor image_tags: ::Array[::String]
|
|
898
|
+
attr_accessor image_pulled_at: ::Time
|
|
899
|
+
attr_accessor last_in_use_at: ::Time
|
|
900
|
+
attr_accessor in_use_count: ::Integer
|
|
901
|
+
SENSITIVE: []
|
|
902
|
+
end
|
|
903
|
+
|
|
904
|
+
class ContainerRegistryMetadata
|
|
905
|
+
attr_accessor name: ::String
|
|
906
|
+
SENSITIVE: []
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
class ContainerRepositoryMetadata
|
|
910
|
+
attr_accessor name: ::String
|
|
911
|
+
attr_accessor scan_frequency: ::String
|
|
912
|
+
SENSITIVE: []
|
|
913
|
+
end
|
|
914
|
+
|
|
734
915
|
class ContinuousIntegrationScanConfiguration
|
|
735
916
|
attr_accessor supported_events: ::Array[("PULL_REQUEST" | "PUSH")]
|
|
736
917
|
SENSITIVE: []
|
|
@@ -738,7 +919,7 @@ module Aws::Inspector2
|
|
|
738
919
|
|
|
739
920
|
class Counts
|
|
740
921
|
attr_accessor count: ::Integer
|
|
741
|
-
attr_accessor group_key: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME")
|
|
922
|
+
attr_accessor group_key: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME" | "PROVIDER" | "PROVIDER_ACCOUNT_ID" | "PROVIDER_REGION" | "PROVIDER_ORG_ID")
|
|
742
923
|
SENSITIVE: []
|
|
743
924
|
end
|
|
744
925
|
|
|
@@ -770,6 +951,17 @@ module Aws::Inspector2
|
|
|
770
951
|
attr_accessor code_repository_provider_type: ::Array[Types::CoverageStringFilter]
|
|
771
952
|
attr_accessor code_repository_provider_type_visibility: ::Array[Types::CoverageStringFilter]
|
|
772
953
|
attr_accessor last_scanned_commit_id: ::Array[Types::CoverageStringFilter]
|
|
954
|
+
attr_accessor cloud_provider: ::Array[Types::CoverageStringFilter]
|
|
955
|
+
attr_accessor cloud_provider_account_id: ::Array[Types::CoverageStringFilter]
|
|
956
|
+
attr_accessor cloud_provider_region: ::Array[Types::CoverageStringFilter]
|
|
957
|
+
attr_accessor cloud_vm_instance_tags: ::Array[Types::CoverageMapFilter]
|
|
958
|
+
attr_accessor cloud_container_image_tags: ::Array[Types::CoverageStringFilter]
|
|
959
|
+
attr_accessor cloud_container_repository_name: ::Array[Types::CoverageStringFilter]
|
|
960
|
+
attr_accessor cloud_container_registry_name: ::Array[Types::CoverageStringFilter]
|
|
961
|
+
attr_accessor cloud_serverless_function_name: ::Array[Types::CoverageStringFilter]
|
|
962
|
+
attr_accessor cloud_serverless_function_runtime: ::Array[Types::CoverageStringFilter]
|
|
963
|
+
attr_accessor cloud_serverless_function_tags: ::Array[Types::CoverageMapFilter]
|
|
964
|
+
attr_accessor cloud_provider_org_id: ::Array[Types::CoverageStringFilter]
|
|
773
965
|
SENSITIVE: []
|
|
774
966
|
end
|
|
775
967
|
|
|
@@ -793,14 +985,19 @@ module Aws::Inspector2
|
|
|
793
985
|
end
|
|
794
986
|
|
|
795
987
|
class CoveredResource
|
|
796
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
988
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.ContainerRegistry/registry/containerRepository" | "Microsoft.Web/sites" | "Microsoft.ContainerRegistry/registries")
|
|
797
989
|
attr_accessor resource_id: ::String
|
|
798
990
|
attr_accessor account_id: ::String
|
|
799
991
|
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
|
800
992
|
attr_accessor scan_status: Types::ScanStatus
|
|
801
993
|
attr_accessor resource_metadata: Types::ResourceScanMetadata
|
|
802
994
|
attr_accessor last_scanned_at: ::Time
|
|
803
|
-
attr_accessor scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_AGENTLESS" | "EC2_INSPECTOR_AGENT_BASED")
|
|
995
|
+
attr_accessor scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_AGENTLESS" | "EC2_INSPECTOR_AGENT_BASED" | "VM_INSPECTOR_AGENT_BASED")
|
|
996
|
+
attr_accessor provider: ("AWS" | "AZURE")
|
|
997
|
+
attr_accessor provider_account_id: ::String
|
|
998
|
+
attr_accessor provider_org_id: ::String
|
|
999
|
+
attr_accessor provider_region: ::String
|
|
1000
|
+
attr_accessor provider_partition: ::String
|
|
804
1001
|
SENSITIVE: []
|
|
805
1002
|
end
|
|
806
1003
|
|
|
@@ -853,6 +1050,21 @@ module Aws::Inspector2
|
|
|
853
1050
|
SENSITIVE: []
|
|
854
1051
|
end
|
|
855
1052
|
|
|
1053
|
+
class CreateConnectorRequest
|
|
1054
|
+
attr_accessor client_token: ::String
|
|
1055
|
+
attr_accessor name: ::String
|
|
1056
|
+
attr_accessor provider: ("AZURE")
|
|
1057
|
+
attr_accessor description: ::String
|
|
1058
|
+
attr_accessor provider_detail: Types::ProviderDetailCreate
|
|
1059
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
1060
|
+
SENSITIVE: []
|
|
1061
|
+
end
|
|
1062
|
+
|
|
1063
|
+
class CreateConnectorResponse
|
|
1064
|
+
attr_accessor connector_arn: ::String
|
|
1065
|
+
SENSITIVE: []
|
|
1066
|
+
end
|
|
1067
|
+
|
|
856
1068
|
class CreateFilterRequest
|
|
857
1069
|
attr_accessor action: ("NONE" | "SUPPRESS")
|
|
858
1070
|
attr_accessor description: ::String
|
|
@@ -1004,6 +1216,14 @@ module Aws::Inspector2
|
|
|
1004
1216
|
SENSITIVE: []
|
|
1005
1217
|
end
|
|
1006
1218
|
|
|
1219
|
+
class DeleteConnectorRequest
|
|
1220
|
+
attr_accessor connector_arn: ::String
|
|
1221
|
+
SENSITIVE: []
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
class DeleteConnectorResponse < Aws::EmptyStructure
|
|
1225
|
+
end
|
|
1226
|
+
|
|
1007
1227
|
class DeleteFilterRequest
|
|
1008
1228
|
attr_accessor arn: ::String
|
|
1009
1229
|
SENSITIVE: []
|
|
@@ -1286,6 +1506,25 @@ module Aws::Inspector2
|
|
|
1286
1506
|
attr_accessor epss_score: ::Array[Types::NumberFilter]
|
|
1287
1507
|
attr_accessor code_repository_project_name: ::Array[Types::StringFilter]
|
|
1288
1508
|
attr_accessor code_repository_provider_type: ::Array[Types::StringFilter]
|
|
1509
|
+
attr_accessor cloud_provider: ::Array[Types::StringFilter]
|
|
1510
|
+
attr_accessor cloud_provider_region: ::Array[Types::StringFilter]
|
|
1511
|
+
attr_accessor cloud_provider_account_id: ::Array[Types::StringFilter]
|
|
1512
|
+
attr_accessor cloud_provider_org_id: ::Array[Types::StringFilter]
|
|
1513
|
+
attr_accessor cloud_vm_image_reference: ::Array[Types::StringFilter]
|
|
1514
|
+
attr_accessor cloud_vm_network_id: ::Array[Types::StringFilter]
|
|
1515
|
+
attr_accessor cloud_vm_subnet_ids: ::Array[Types::StringFilter]
|
|
1516
|
+
attr_accessor cloud_image_repository_name: ::Array[Types::StringFilter]
|
|
1517
|
+
attr_accessor cloud_image_registry: ::Array[Types::StringFilter]
|
|
1518
|
+
attr_accessor cloud_image_digest: ::Array[Types::StringFilter]
|
|
1519
|
+
attr_accessor cloud_image_tags: ::Array[Types::StringFilter]
|
|
1520
|
+
attr_accessor cloud_image_pushed_at: ::Array[Types::DateFilter]
|
|
1521
|
+
attr_accessor cloud_image_architecture: ::Array[Types::StringFilter]
|
|
1522
|
+
attr_accessor cloud_image_last_in_use_at: ::Array[Types::DateFilter]
|
|
1523
|
+
attr_accessor cloud_image_in_use_count: ::Array[Types::NumberFilter]
|
|
1524
|
+
attr_accessor cloud_serverless_function_name: ::Array[Types::StringFilter]
|
|
1525
|
+
attr_accessor cloud_serverless_function_runtime: ::Array[Types::StringFilter]
|
|
1526
|
+
attr_accessor cloud_serverless_function_last_modified_at: ::Array[Types::DateFilter]
|
|
1527
|
+
attr_accessor cloud_serverless_function_execution_role: ::Array[Types::StringFilter]
|
|
1289
1528
|
SENSITIVE: []
|
|
1290
1529
|
end
|
|
1291
1530
|
|
|
@@ -1337,7 +1576,7 @@ module Aws::Inspector2
|
|
|
1337
1576
|
|
|
1338
1577
|
class FindingTypeAggregation
|
|
1339
1578
|
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
|
1340
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
1579
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
1341
1580
|
attr_accessor sort_order: ("ASC" | "DESC")
|
|
1342
1581
|
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
1343
1582
|
SENSITIVE: []
|
|
@@ -1348,6 +1587,11 @@ module Aws::Inspector2
|
|
|
1348
1587
|
attr_accessor severity_counts: Types::SeverityCounts
|
|
1349
1588
|
attr_accessor exploit_available_count: ::Integer
|
|
1350
1589
|
attr_accessor fix_available_count: ::Integer
|
|
1590
|
+
attr_accessor cloud_provider: ::String
|
|
1591
|
+
attr_accessor cloud_account_id: ::String
|
|
1592
|
+
attr_accessor cloud_org_id: ::String
|
|
1593
|
+
attr_accessor cloud_region: ::String
|
|
1594
|
+
attr_accessor cloud_partition: ::String
|
|
1351
1595
|
SENSITIVE: []
|
|
1352
1596
|
end
|
|
1353
1597
|
|
|
@@ -1358,10 +1602,11 @@ module Aws::Inspector2
|
|
|
1358
1602
|
end
|
|
1359
1603
|
|
|
1360
1604
|
class FreeTrialInfo
|
|
1361
|
-
attr_accessor type: ("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")
|
|
1605
|
+
attr_accessor type: ("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY" | "VM" | "CONTAINER_IMAGE" | "SERVERLESS_FUNCTION")
|
|
1362
1606
|
attr_accessor start: ::Time
|
|
1363
1607
|
attr_accessor end: ::Time
|
|
1364
1608
|
attr_accessor status: ("ACTIVE" | "INACTIVE")
|
|
1609
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE" | "NOT_APPLICABLE")
|
|
1365
1610
|
SENSITIVE: []
|
|
1366
1611
|
end
|
|
1367
1612
|
|
|
@@ -1470,7 +1715,9 @@ module Aws::Inspector2
|
|
|
1470
1715
|
SENSITIVE: []
|
|
1471
1716
|
end
|
|
1472
1717
|
|
|
1473
|
-
class GetConfigurationRequest
|
|
1718
|
+
class GetConfigurationRequest
|
|
1719
|
+
attr_accessor account_id: ::String
|
|
1720
|
+
SENSITIVE: []
|
|
1474
1721
|
end
|
|
1475
1722
|
|
|
1476
1723
|
class GetConfigurationResponse
|
|
@@ -1500,7 +1747,7 @@ module Aws::Inspector2
|
|
|
1500
1747
|
|
|
1501
1748
|
class GetEncryptionKeyRequest
|
|
1502
1749
|
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
|
1503
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
1750
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
1504
1751
|
SENSITIVE: []
|
|
1505
1752
|
end
|
|
1506
1753
|
|
|
@@ -1550,10 +1797,29 @@ module Aws::Inspector2
|
|
|
1550
1797
|
SENSITIVE: []
|
|
1551
1798
|
end
|
|
1552
1799
|
|
|
1800
|
+
class Image
|
|
1801
|
+
attr_accessor repository_name: ::String
|
|
1802
|
+
attr_accessor registry: ::String
|
|
1803
|
+
attr_accessor image_tags: ::Array[::String]
|
|
1804
|
+
attr_accessor image_digest: ::String
|
|
1805
|
+
attr_accessor pushed_at: ::Time
|
|
1806
|
+
attr_accessor architecture: ::String
|
|
1807
|
+
attr_accessor author: ::String
|
|
1808
|
+
attr_accessor in_use_count: ::Integer
|
|
1809
|
+
attr_accessor last_in_use_at: ::Time
|
|
1810
|
+
attr_accessor platform: ::String
|
|
1811
|
+
SENSITIVE: []
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1553
1814
|
class ImageLayerAggregation
|
|
1554
1815
|
attr_accessor repositories: ::Array[Types::StringFilter]
|
|
1555
1816
|
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
|
1556
1817
|
attr_accessor layer_hashes: ::Array[Types::StringFilter]
|
|
1818
|
+
attr_accessor cloud_providers: ::Array[Types::StringFilter]
|
|
1819
|
+
attr_accessor cloud_account_ids: ::Array[Types::StringFilter]
|
|
1820
|
+
attr_accessor cloud_org_ids: ::Array[Types::StringFilter]
|
|
1821
|
+
attr_accessor cloud_regions: ::Array[Types::StringFilter]
|
|
1822
|
+
attr_accessor cloud_partitions: ::Array[Types::StringFilter]
|
|
1557
1823
|
attr_accessor sort_order: ("ASC" | "DESC")
|
|
1558
1824
|
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
1559
1825
|
SENSITIVE: []
|
|
@@ -1564,6 +1830,11 @@ module Aws::Inspector2
|
|
|
1564
1830
|
attr_accessor resource_id: ::String
|
|
1565
1831
|
attr_accessor layer_hash: ::String
|
|
1566
1832
|
attr_accessor account_id: ::String
|
|
1833
|
+
attr_accessor cloud_provider: ::String
|
|
1834
|
+
attr_accessor cloud_account_id: ::String
|
|
1835
|
+
attr_accessor cloud_org_id: ::String
|
|
1836
|
+
attr_accessor cloud_region: ::String
|
|
1837
|
+
attr_accessor cloud_partition: ::String
|
|
1567
1838
|
attr_accessor severity_counts: Types::SeverityCounts
|
|
1568
1839
|
SENSITIVE: []
|
|
1569
1840
|
end
|
|
@@ -1604,7 +1875,7 @@ module Aws::Inspector2
|
|
|
1604
1875
|
attr_accessor function_tags: ::Hash[::String, ::String]
|
|
1605
1876
|
attr_accessor layers: ::Array[::String]
|
|
1606
1877
|
attr_accessor function_name: ::String
|
|
1607
|
-
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2" | "DOTNET_10" | "NODEJS_24_X")
|
|
1878
|
+
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2" | "DOTNET_10" | "NODEJS_24_X" | "NODEJS_22_X" | "JAVA_21" | "JAVA_25")
|
|
1608
1879
|
SENSITIVE: []
|
|
1609
1880
|
end
|
|
1610
1881
|
|
|
@@ -1767,6 +2038,32 @@ module Aws::Inspector2
|
|
|
1767
2038
|
SENSITIVE: []
|
|
1768
2039
|
end
|
|
1769
2040
|
|
|
2041
|
+
class ListConnectorScanConfigurationsRequest
|
|
2042
|
+
attr_accessor aws_config_connector_arns: ::Array[::String]
|
|
2043
|
+
attr_accessor max_results: ::Integer
|
|
2044
|
+
attr_accessor next_token: ::String
|
|
2045
|
+
SENSITIVE: [:next_token]
|
|
2046
|
+
end
|
|
2047
|
+
|
|
2048
|
+
class ListConnectorScanConfigurationsResponse
|
|
2049
|
+
attr_accessor scan_configurations: ::Array[Types::ConnectorScanConfigurationItem]
|
|
2050
|
+
attr_accessor next_token: ::String
|
|
2051
|
+
SENSITIVE: [:next_token]
|
|
2052
|
+
end
|
|
2053
|
+
|
|
2054
|
+
class ListConnectorsRequest
|
|
2055
|
+
attr_accessor max_results: ::Integer
|
|
2056
|
+
attr_accessor next_token: ::String
|
|
2057
|
+
attr_accessor filter_criteria: Types::ConnectorFilterCriteria
|
|
2058
|
+
SENSITIVE: [:next_token]
|
|
2059
|
+
end
|
|
2060
|
+
|
|
2061
|
+
class ListConnectorsResponse
|
|
2062
|
+
attr_accessor items: ::Array[Types::Connector]
|
|
2063
|
+
attr_accessor next_token: ::String
|
|
2064
|
+
SENSITIVE: [:next_token]
|
|
2065
|
+
end
|
|
2066
|
+
|
|
1770
2067
|
class ListCoverageRequest
|
|
1771
2068
|
attr_accessor max_results: ::Integer
|
|
1772
2069
|
attr_accessor next_token: ::String
|
|
@@ -1782,7 +2079,7 @@ module Aws::Inspector2
|
|
|
1782
2079
|
|
|
1783
2080
|
class ListCoverageStatisticsRequest
|
|
1784
2081
|
attr_accessor filter_criteria: Types::CoverageFilterCriteria
|
|
1785
|
-
attr_accessor group_by: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME")
|
|
2082
|
+
attr_accessor group_by: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME" | "PROVIDER" | "PROVIDER_ACCOUNT_ID" | "PROVIDER_REGION" | "PROVIDER_ORG_ID")
|
|
1786
2083
|
attr_accessor next_token: ::String
|
|
1787
2084
|
SENSITIVE: []
|
|
1788
2085
|
end
|
|
@@ -1821,7 +2118,7 @@ module Aws::Inspector2
|
|
|
1821
2118
|
end
|
|
1822
2119
|
|
|
1823
2120
|
class ListFindingAggregationsRequest
|
|
1824
|
-
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY")
|
|
2121
|
+
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY" | "VM_INSTANCE" | "CONTAINER_IMAGE" | "SERVERLESS_FUNCTION")
|
|
1825
2122
|
attr_accessor next_token: ::String
|
|
1826
2123
|
attr_accessor max_results: ::Integer
|
|
1827
2124
|
attr_accessor account_ids: ::Array[Types::StringFilter]
|
|
@@ -1830,7 +2127,7 @@ module Aws::Inspector2
|
|
|
1830
2127
|
end
|
|
1831
2128
|
|
|
1832
2129
|
class ListFindingAggregationsResponse
|
|
1833
|
-
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY")
|
|
2130
|
+
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY" | "VM_INSTANCE" | "CONTAINER_IMAGE" | "SERVERLESS_FUNCTION")
|
|
1834
2131
|
attr_accessor responses: ::Array[Types::AggregationResponse]
|
|
1835
2132
|
attr_accessor next_token: ::String
|
|
1836
2133
|
SENSITIVE: []
|
|
@@ -2023,6 +2320,34 @@ module Aws::Inspector2
|
|
|
2023
2320
|
SENSITIVE: []
|
|
2024
2321
|
end
|
|
2025
2322
|
|
|
2323
|
+
class ProviderDetailCreate
|
|
2324
|
+
attr_accessor azure: Types::AzureProviderDetailCreate
|
|
2325
|
+
attr_accessor unknown: untyped
|
|
2326
|
+
SENSITIVE: []
|
|
2327
|
+
|
|
2328
|
+
class Azure < ProviderDetailCreate
|
|
2329
|
+
end
|
|
2330
|
+
class Unknown < ProviderDetailCreate
|
|
2331
|
+
end
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
class ProviderDetailUpdate
|
|
2335
|
+
attr_accessor azure: Types::AzureProviderDetailUpdate
|
|
2336
|
+
attr_accessor unknown: untyped
|
|
2337
|
+
SENSITIVE: []
|
|
2338
|
+
|
|
2339
|
+
class Azure < ProviderDetailUpdate
|
|
2340
|
+
end
|
|
2341
|
+
class Unknown < ProviderDetailUpdate
|
|
2342
|
+
end
|
|
2343
|
+
end
|
|
2344
|
+
|
|
2345
|
+
class ProviderFilter
|
|
2346
|
+
attr_accessor comparison: ("EQUALS")
|
|
2347
|
+
attr_accessor value: ("AZURE")
|
|
2348
|
+
SENSITIVE: []
|
|
2349
|
+
end
|
|
2350
|
+
|
|
2026
2351
|
class Recommendation
|
|
2027
2352
|
attr_accessor text: ::String
|
|
2028
2353
|
attr_accessor url: ::String
|
|
@@ -2044,6 +2369,11 @@ module Aws::Inspector2
|
|
|
2044
2369
|
class RepositoryAggregationResponse
|
|
2045
2370
|
attr_accessor repository: ::String
|
|
2046
2371
|
attr_accessor account_id: ::String
|
|
2372
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE")
|
|
2373
|
+
attr_accessor cloud_partition: ::String
|
|
2374
|
+
attr_accessor cloud_region: ::String
|
|
2375
|
+
attr_accessor cloud_org_id: ::String
|
|
2376
|
+
attr_accessor cloud_account_id: ::String
|
|
2047
2377
|
attr_accessor severity_counts: Types::SeverityCounts
|
|
2048
2378
|
attr_accessor affected_images: ::Integer
|
|
2049
2379
|
SENSITIVE: []
|
|
@@ -2051,7 +2381,7 @@ module Aws::Inspector2
|
|
|
2051
2381
|
|
|
2052
2382
|
class ResetEncryptionKeyRequest
|
|
2053
2383
|
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
|
2054
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
2384
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
2055
2385
|
SENSITIVE: []
|
|
2056
2386
|
end
|
|
2057
2387
|
|
|
@@ -2059,12 +2389,15 @@ module Aws::Inspector2
|
|
|
2059
2389
|
end
|
|
2060
2390
|
|
|
2061
2391
|
class Resource
|
|
2062
|
-
attr_accessor type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
2392
|
+
attr_accessor type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
2063
2393
|
attr_accessor id: ::String
|
|
2064
2394
|
attr_accessor partition: ::String
|
|
2065
2395
|
attr_accessor region: ::String
|
|
2066
2396
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
2067
2397
|
attr_accessor details: Types::ResourceDetails
|
|
2398
|
+
attr_accessor provider: ("AWS" | "AZURE")
|
|
2399
|
+
attr_accessor provider_account_id: ::String
|
|
2400
|
+
attr_accessor provider_org_id: ::String
|
|
2068
2401
|
SENSITIVE: []
|
|
2069
2402
|
end
|
|
2070
2403
|
|
|
@@ -2073,6 +2406,9 @@ module Aws::Inspector2
|
|
|
2073
2406
|
attr_accessor aws_ecr_container_image: Types::AwsEcrContainerImageDetails
|
|
2074
2407
|
attr_accessor aws_lambda_function: Types::AwsLambdaFunctionDetails
|
|
2075
2408
|
attr_accessor code_repository: Types::CodeRepositoryDetails
|
|
2409
|
+
attr_accessor vm: Types::Vm
|
|
2410
|
+
attr_accessor image: Types::Image
|
|
2411
|
+
attr_accessor serverless_function: Types::ServerlessFunction
|
|
2076
2412
|
SENSITIVE: []
|
|
2077
2413
|
end
|
|
2078
2414
|
|
|
@@ -2106,6 +2442,11 @@ module Aws::Inspector2
|
|
|
2106
2442
|
attr_accessor ec2: Types::Ec2Metadata
|
|
2107
2443
|
attr_accessor lambda_function: Types::LambdaFunctionMetadata
|
|
2108
2444
|
attr_accessor code_repository: Types::CodeRepositoryMetadata
|
|
2445
|
+
attr_accessor vm_instance: Types::VmInstanceMetadata
|
|
2446
|
+
attr_accessor container_image: Types::ContainerImageMetadata
|
|
2447
|
+
attr_accessor container_repository: Types::ContainerRepositoryMetadata
|
|
2448
|
+
attr_accessor container_registry: Types::ContainerRegistryMetadata
|
|
2449
|
+
attr_accessor serverless_function: Types::ServerlessFunctionMetadata
|
|
2109
2450
|
SENSITIVE: []
|
|
2110
2451
|
end
|
|
2111
2452
|
|
|
@@ -2135,7 +2476,7 @@ module Aws::Inspector2
|
|
|
2135
2476
|
|
|
2136
2477
|
class ScanStatus
|
|
2137
2478
|
attr_accessor status_code: ("ACTIVE" | "INACTIVE")
|
|
2138
|
-
attr_accessor reason: ("PENDING_INITIAL_SCAN" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "UNMANAGED_EC2_INSTANCE" | "UNSUPPORTED_OS" | "SCAN_ELIGIBILITY_EXPIRED" | "RESOURCE_TERMINATED" | "SUCCESSFUL" | "NO_RESOURCES_FOUND" | "IMAGE_SIZE_EXCEEDED" | "SCAN_FREQUENCY_MANUAL" | "SCAN_FREQUENCY_SCAN_ON_PUSH" | "EC2_INSTANCE_STOPPED" | "PENDING_DISABLE" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY" | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" | "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" | "PENDING_REVIVAL_SCAN" | "INTEGRATION_CONNECTION_LOST" | "ACCESS_DENIED_TO_ENCRYPTION_KEY" | "UNSUPPORTED_LANGUAGE" | "NO_SCAN_CONFIGURATION_ASSOCIATED" | "SCAN_IN_PROGRESS" | "IMAGE_ARCHIVED" | "UNSUPPORTED_CODE_ARTIFACTS")
|
|
2479
|
+
attr_accessor reason: ("PENDING_INITIAL_SCAN" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "UNMANAGED_EC2_INSTANCE" | "UNSUPPORTED_OS" | "SCAN_ELIGIBILITY_EXPIRED" | "RESOURCE_TERMINATED" | "SUCCESSFUL" | "NO_RESOURCES_FOUND" | "IMAGE_SIZE_EXCEEDED" | "SCAN_FREQUENCY_MANUAL" | "SCAN_FREQUENCY_SCAN_ON_PUSH" | "EC2_INSTANCE_STOPPED" | "PENDING_DISABLE" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY" | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" | "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" | "PENDING_REVIVAL_SCAN" | "INTEGRATION_CONNECTION_LOST" | "ACCESS_DENIED_TO_ENCRYPTION_KEY" | "UNSUPPORTED_LANGUAGE" | "NO_SCAN_CONFIGURATION_ASSOCIATED" | "SCAN_IN_PROGRESS" | "IMAGE_ARCHIVED" | "UNSUPPORTED_CODE_ARTIFACTS" | "RESOURCE_UNMANAGED" | "RESOURCE_STOPPED")
|
|
2139
2480
|
SENSITIVE: []
|
|
2140
2481
|
end
|
|
2141
2482
|
|
|
@@ -2159,6 +2500,20 @@ module Aws::Inspector2
|
|
|
2159
2500
|
end
|
|
2160
2501
|
end
|
|
2161
2502
|
|
|
2503
|
+
class ScopeConfiguration
|
|
2504
|
+
attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION")
|
|
2505
|
+
attr_accessor scope_values: ::Array[::String]
|
|
2506
|
+
attr_accessor state: ("ACTIVE" | "PENDING" | "ERROR" | "DISABLED")
|
|
2507
|
+
attr_accessor state_reason: ::String
|
|
2508
|
+
SENSITIVE: []
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
class ScopeConfigurationInput
|
|
2512
|
+
attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION")
|
|
2513
|
+
attr_accessor scope_values: ::Array[::String]
|
|
2514
|
+
SENSITIVE: []
|
|
2515
|
+
end
|
|
2516
|
+
|
|
2162
2517
|
class ScopeSettings
|
|
2163
2518
|
attr_accessor project_selection_scope: ("ALL")
|
|
2164
2519
|
SENSITIVE: []
|
|
@@ -2200,6 +2555,62 @@ module Aws::Inspector2
|
|
|
2200
2555
|
class SendCisSessionTelemetryResponse < Aws::EmptyStructure
|
|
2201
2556
|
end
|
|
2202
2557
|
|
|
2558
|
+
class ServerlessFunction
|
|
2559
|
+
attr_accessor serverless_function_name: ::String
|
|
2560
|
+
attr_accessor runtime: ::String
|
|
2561
|
+
attr_accessor version: ::String
|
|
2562
|
+
attr_accessor code_digest: ::String
|
|
2563
|
+
attr_accessor last_modified_at: ::Time
|
|
2564
|
+
attr_accessor network_id: ::String
|
|
2565
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
2566
|
+
attr_accessor security_group_ids: ::Array[::String]
|
|
2567
|
+
attr_accessor execution_role: ::String
|
|
2568
|
+
attr_accessor package_type: ("IMAGE" | "ZIP")
|
|
2569
|
+
attr_accessor architectures: ::Array[("X86_64" | "ARM64")]
|
|
2570
|
+
attr_accessor layers: ::Array[::String]
|
|
2571
|
+
SENSITIVE: []
|
|
2572
|
+
end
|
|
2573
|
+
|
|
2574
|
+
class ServerlessFunctionAggregation
|
|
2575
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
|
2576
|
+
attr_accessor function_names: ::Array[Types::StringFilter]
|
|
2577
|
+
attr_accessor runtimes: ::Array[Types::StringFilter]
|
|
2578
|
+
attr_accessor function_tags: ::Array[Types::MapFilter]
|
|
2579
|
+
attr_accessor cloud_providers: ::Array[Types::StringFilter]
|
|
2580
|
+
attr_accessor cloud_partitions: ::Array[Types::StringFilter]
|
|
2581
|
+
attr_accessor cloud_regions: ::Array[Types::StringFilter]
|
|
2582
|
+
attr_accessor cloud_org_ids: ::Array[Types::StringFilter]
|
|
2583
|
+
attr_accessor cloud_account_ids: ::Array[Types::StringFilter]
|
|
2584
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
|
2585
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
2586
|
+
SENSITIVE: []
|
|
2587
|
+
end
|
|
2588
|
+
|
|
2589
|
+
class ServerlessFunctionAggregationResponse
|
|
2590
|
+
attr_accessor resource_id: ::String
|
|
2591
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE")
|
|
2592
|
+
attr_accessor cloud_account_id: ::String
|
|
2593
|
+
attr_accessor cloud_partition: ::String
|
|
2594
|
+
attr_accessor cloud_region: ::String
|
|
2595
|
+
attr_accessor cloud_org_id: ::String
|
|
2596
|
+
attr_accessor function_name: ::String
|
|
2597
|
+
attr_accessor runtime: ::String
|
|
2598
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
2599
|
+
attr_accessor account_id: ::String
|
|
2600
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
|
2601
|
+
attr_accessor last_modified_at: ::Time
|
|
2602
|
+
attr_accessor exploit_available_active_findings_count: ::Integer
|
|
2603
|
+
attr_accessor fix_available_active_findings_count: ::Integer
|
|
2604
|
+
SENSITIVE: []
|
|
2605
|
+
end
|
|
2606
|
+
|
|
2607
|
+
class ServerlessFunctionMetadata
|
|
2608
|
+
attr_accessor serverless_function_name: ::String
|
|
2609
|
+
attr_accessor runtime: ::String
|
|
2610
|
+
attr_accessor function_tags: ::Hash[::String, ::String]
|
|
2611
|
+
SENSITIVE: []
|
|
2612
|
+
end
|
|
2613
|
+
|
|
2203
2614
|
class ServiceQuotaExceededException
|
|
2204
2615
|
attr_accessor message: ::String
|
|
2205
2616
|
attr_accessor resource_id: ::String
|
|
@@ -2348,10 +2759,10 @@ module Aws::Inspector2
|
|
|
2348
2759
|
class TitleAggregation
|
|
2349
2760
|
attr_accessor titles: ::Array[Types::StringFilter]
|
|
2350
2761
|
attr_accessor vulnerability_ids: ::Array[Types::StringFilter]
|
|
2351
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
2762
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
2763
|
+
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
|
2352
2764
|
attr_accessor sort_order: ("ASC" | "DESC")
|
|
2353
2765
|
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
|
2354
|
-
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
|
2355
2766
|
SENSITIVE: []
|
|
2356
2767
|
end
|
|
2357
2768
|
|
|
@@ -2415,15 +2826,44 @@ module Aws::Inspector2
|
|
|
2415
2826
|
SENSITIVE: []
|
|
2416
2827
|
end
|
|
2417
2828
|
|
|
2829
|
+
class UpdateConfigurationInheritance
|
|
2830
|
+
attr_accessor ec2_configuration: ("INHERIT_FROM_ADMIN")
|
|
2831
|
+
attr_accessor ecr_configuration: ("INHERIT_FROM_ADMIN")
|
|
2832
|
+
SENSITIVE: []
|
|
2833
|
+
end
|
|
2834
|
+
|
|
2418
2835
|
class UpdateConfigurationRequest
|
|
2836
|
+
attr_accessor account_id: ::String
|
|
2419
2837
|
attr_accessor ecr_configuration: Types::EcrConfiguration
|
|
2420
2838
|
attr_accessor ec2_configuration: Types::Ec2Configuration
|
|
2839
|
+
attr_accessor update_configuration_inheritance: Types::UpdateConfigurationInheritance
|
|
2421
2840
|
SENSITIVE: []
|
|
2422
2841
|
end
|
|
2423
2842
|
|
|
2424
2843
|
class UpdateConfigurationResponse < Aws::EmptyStructure
|
|
2425
2844
|
end
|
|
2426
2845
|
|
|
2846
|
+
class UpdateConnectorRequest
|
|
2847
|
+
attr_accessor connector_arn: ::String
|
|
2848
|
+
attr_accessor description: ::String
|
|
2849
|
+
attr_accessor provider_detail: Types::ProviderDetailUpdate
|
|
2850
|
+
SENSITIVE: []
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
class UpdateConnectorResponse
|
|
2854
|
+
attr_accessor connector_arn: ::String
|
|
2855
|
+
SENSITIVE: []
|
|
2856
|
+
end
|
|
2857
|
+
|
|
2858
|
+
class UpdateConnectorScanConfigurationRequest
|
|
2859
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
2860
|
+
attr_accessor scan_configuration: Types::ConnectorScanConfiguration
|
|
2861
|
+
SENSITIVE: []
|
|
2862
|
+
end
|
|
2863
|
+
|
|
2864
|
+
class UpdateConnectorScanConfigurationResponse < Aws::EmptyStructure
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2427
2867
|
class UpdateEc2DeepInspectionConfigurationRequest
|
|
2428
2868
|
attr_accessor activate_deep_inspection: bool
|
|
2429
2869
|
attr_accessor package_paths: ::Array[::String]
|
|
@@ -2441,7 +2881,7 @@ module Aws::Inspector2
|
|
|
2441
2881
|
class UpdateEncryptionKeyRequest
|
|
2442
2882
|
attr_accessor kms_key_id: ::String
|
|
2443
2883
|
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
|
2444
|
-
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
|
|
2884
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
|
|
2445
2885
|
SENSITIVE: []
|
|
2446
2886
|
end
|
|
2447
2887
|
|
|
@@ -2507,10 +2947,11 @@ module Aws::Inspector2
|
|
|
2507
2947
|
end
|
|
2508
2948
|
|
|
2509
2949
|
class Usage
|
|
2510
|
-
attr_accessor type: ("EC2_INSTANCE_HOURS" | "ECR_INITIAL_SCAN" | "ECR_RESCAN" | "LAMBDA_FUNCTION_HOURS" | "LAMBDA_FUNCTION_CODE_HOURS" | "CODE_REPOSITORY_SAST" | "CODE_REPOSITORY_IAC" | "CODE_REPOSITORY_SCA" | "EC2_AGENTLESS_INSTANCE_HOURS")
|
|
2950
|
+
attr_accessor type: ("EC2_INSTANCE_HOURS" | "ECR_INITIAL_SCAN" | "ECR_RESCAN" | "LAMBDA_FUNCTION_HOURS" | "LAMBDA_FUNCTION_CODE_HOURS" | "CODE_REPOSITORY_SAST" | "CODE_REPOSITORY_IAC" | "CODE_REPOSITORY_SCA" | "EC2_AGENTLESS_INSTANCE_HOURS" | "AZURE_CONTAINER_IMAGE_INITIAL_SCAN" | "AZURE_CONTAINER_IMAGE_RESCAN" | "AZURE_VM_AGENT_BASED_INSTANCE_HOURS" | "AZURE_SERVERLESS_FUNCTION_HOURS")
|
|
2511
2951
|
attr_accessor total: ::Float
|
|
2512
2952
|
attr_accessor estimated_monthly_cost: ::Float
|
|
2513
2953
|
attr_accessor currency: ("USD")
|
|
2954
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE" | "NOT_APPLICABLE")
|
|
2514
2955
|
SENSITIVE: []
|
|
2515
2956
|
end
|
|
2516
2957
|
|
|
@@ -2540,6 +2981,63 @@ module Aws::Inspector2
|
|
|
2540
2981
|
SENSITIVE: []
|
|
2541
2982
|
end
|
|
2542
2983
|
|
|
2984
|
+
class Vm
|
|
2985
|
+
attr_accessor type: ::String
|
|
2986
|
+
attr_accessor vm_name: ::String
|
|
2987
|
+
attr_accessor vm_image_reference: ::String
|
|
2988
|
+
attr_accessor ip_v4_addresses: ::Array[::String]
|
|
2989
|
+
attr_accessor ip_v6_addresses: ::Array[::String]
|
|
2990
|
+
attr_accessor network_id: ::String
|
|
2991
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
2992
|
+
attr_accessor security_group_ids: ::Array[::String]
|
|
2993
|
+
attr_accessor launched_at: ::Time
|
|
2994
|
+
attr_accessor platform: ::String
|
|
2995
|
+
attr_accessor execution_role: ::String
|
|
2996
|
+
attr_accessor key_name: ::String
|
|
2997
|
+
SENSITIVE: []
|
|
2998
|
+
end
|
|
2999
|
+
|
|
3000
|
+
class VmInstanceAggregation
|
|
3001
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
|
3002
|
+
attr_accessor operating_systems: ::Array[Types::StringFilter]
|
|
3003
|
+
attr_accessor instance_tags: ::Array[Types::MapFilter]
|
|
3004
|
+
attr_accessor vm_image_references: ::Array[Types::StringFilter]
|
|
3005
|
+
attr_accessor cloud_providers: ::Array[Types::StringFilter]
|
|
3006
|
+
attr_accessor cloud_partitions: ::Array[Types::StringFilter]
|
|
3007
|
+
attr_accessor cloud_regions: ::Array[Types::StringFilter]
|
|
3008
|
+
attr_accessor cloud_org_ids: ::Array[Types::StringFilter]
|
|
3009
|
+
attr_accessor cloud_account_ids: ::Array[Types::StringFilter]
|
|
3010
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
|
3011
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "NETWORK_FINDINGS")
|
|
3012
|
+
SENSITIVE: []
|
|
3013
|
+
end
|
|
3014
|
+
|
|
3015
|
+
class VmInstanceAggregationResponse
|
|
3016
|
+
attr_accessor resource_id: ::String
|
|
3017
|
+
attr_accessor cloud_provider: ("AWS" | "AZURE")
|
|
3018
|
+
attr_accessor cloud_account_id: ::String
|
|
3019
|
+
attr_accessor cloud_partition: ::String
|
|
3020
|
+
attr_accessor cloud_region: ::String
|
|
3021
|
+
attr_accessor cloud_org_id: ::String
|
|
3022
|
+
attr_accessor vm_image_reference: ::String
|
|
3023
|
+
attr_accessor operating_system: ::String
|
|
3024
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
3025
|
+
attr_accessor account_id: ::String
|
|
3026
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
|
3027
|
+
attr_accessor network_findings: ::Integer
|
|
3028
|
+
attr_accessor exploit_available_active_findings_count: ::Integer
|
|
3029
|
+
attr_accessor fix_available_active_findings_count: ::Integer
|
|
3030
|
+
SENSITIVE: []
|
|
3031
|
+
end
|
|
3032
|
+
|
|
3033
|
+
class VmInstanceMetadata
|
|
3034
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
3035
|
+
attr_accessor platform: ("WINDOWS" | "LINUX" | "UNKNOWN")
|
|
3036
|
+
attr_accessor inventory_hash: ::String
|
|
3037
|
+
attr_accessor vm_image_reference: ::String
|
|
3038
|
+
SENSITIVE: []
|
|
3039
|
+
end
|
|
3040
|
+
|
|
2543
3041
|
class Vulnerability
|
|
2544
3042
|
attr_accessor id: ::String
|
|
2545
3043
|
attr_accessor cwes: ::Array[::String]
|