aws-sdk-inspector2 1.98.0 → 1.100.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +119 -8
- data/lib/aws-sdk-inspector2/client_api.rb +74 -0
- data/lib/aws-sdk-inspector2/types.rb +330 -22
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +27 -8
- data/sig/params.rbs +22 -0
- data/sig/types.rbs +88 -10
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -735,14 +735,24 @@ module Aws::Inspector2
|
|
|
735
735
|
class CodeSecurityIntegrationSummary
|
|
736
736
|
attr_accessor integration_arn: ::String
|
|
737
737
|
attr_accessor name: ::String
|
|
738
|
-
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
|
|
739
|
-
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
|
|
738
|
+
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
|
|
739
|
+
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
740
740
|
attr_accessor status_reason: ::String
|
|
741
741
|
attr_accessor created_on: ::Time
|
|
742
742
|
attr_accessor last_update_on: ::Time
|
|
743
743
|
SENSITIVE: []
|
|
744
744
|
end
|
|
745
745
|
|
|
746
|
+
class CodeSecurityIntegrationVpcConfiguration
|
|
747
|
+
attr_accessor vpc_id: ::String
|
|
748
|
+
attr_accessor vpc_endpoint_id: ::String
|
|
749
|
+
attr_accessor code_connections_host_arn: ::String
|
|
750
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
751
|
+
attr_accessor security_groups: ::Array[::String]
|
|
752
|
+
attr_accessor tls_certificate: ::String
|
|
753
|
+
SENSITIVE: [:tls_certificate]
|
|
754
|
+
end
|
|
755
|
+
|
|
746
756
|
class CodeSecurityResource
|
|
747
757
|
attr_accessor project_id: ::String
|
|
748
758
|
attr_accessor unknown: untyped
|
|
@@ -1057,7 +1067,7 @@ module Aws::Inspector2
|
|
|
1057
1067
|
|
|
1058
1068
|
class CreateCodeSecurityIntegrationRequest
|
|
1059
1069
|
attr_accessor name: ::String
|
|
1060
|
-
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
|
|
1070
|
+
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
|
|
1061
1071
|
attr_accessor details: Types::CreateIntegrationDetail
|
|
1062
1072
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1063
1073
|
SENSITIVE: []
|
|
@@ -1065,7 +1075,7 @@ module Aws::Inspector2
|
|
|
1065
1075
|
|
|
1066
1076
|
class CreateCodeSecurityIntegrationResponse
|
|
1067
1077
|
attr_accessor integration_arn: ::String
|
|
1068
|
-
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
|
|
1078
|
+
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
1069
1079
|
attr_accessor authorization_url: ::String
|
|
1070
1080
|
SENSITIVE: [:authorization_url]
|
|
1071
1081
|
end
|
|
@@ -1126,19 +1136,29 @@ module Aws::Inspector2
|
|
|
1126
1136
|
SENSITIVE: []
|
|
1127
1137
|
end
|
|
1128
1138
|
|
|
1139
|
+
class CreateGitHubEnterpriseIntegrationDetail
|
|
1140
|
+
attr_accessor instance_url: ::String
|
|
1141
|
+
attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
|
|
1142
|
+
SENSITIVE: [:instance_url]
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1129
1145
|
class CreateGitLabSelfManagedIntegrationDetail
|
|
1130
1146
|
attr_accessor instance_url: ::String
|
|
1131
1147
|
attr_accessor access_token: ::String
|
|
1148
|
+
attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
|
|
1132
1149
|
SENSITIVE: [:instance_url, :access_token]
|
|
1133
1150
|
end
|
|
1134
1151
|
|
|
1135
1152
|
class CreateIntegrationDetail
|
|
1136
1153
|
attr_accessor gitlab_self_managed: Types::CreateGitLabSelfManagedIntegrationDetail
|
|
1154
|
+
attr_accessor github_enterprise: Types::CreateGitHubEnterpriseIntegrationDetail
|
|
1137
1155
|
attr_accessor unknown: untyped
|
|
1138
1156
|
SENSITIVE: []
|
|
1139
1157
|
|
|
1140
1158
|
class GitlabSelfManaged < CreateIntegrationDetail
|
|
1141
1159
|
end
|
|
1160
|
+
class GithubEnterprise < CreateIntegrationDetail
|
|
1161
|
+
end
|
|
1142
1162
|
class Unknown < CreateIntegrationDetail
|
|
1143
1163
|
end
|
|
1144
1164
|
end
|
|
@@ -1752,14 +1772,16 @@ module Aws::Inspector2
|
|
|
1752
1772
|
class GetCodeSecurityIntegrationResponse
|
|
1753
1773
|
attr_accessor integration_arn: ::String
|
|
1754
1774
|
attr_accessor name: ::String
|
|
1755
|
-
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
|
|
1756
|
-
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
|
|
1775
|
+
attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
|
|
1776
|
+
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
1757
1777
|
attr_accessor status_reason: ::String
|
|
1758
1778
|
attr_accessor created_on: ::Time
|
|
1759
1779
|
attr_accessor last_update_on: ::Time
|
|
1760
1780
|
attr_accessor authorization_url: ::String
|
|
1781
|
+
attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
|
|
1782
|
+
attr_accessor instance_url: ::String
|
|
1761
1783
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1762
|
-
SENSITIVE: [:authorization_url]
|
|
1784
|
+
SENSITIVE: [:authorization_url, :instance_url]
|
|
1763
1785
|
end
|
|
1764
1786
|
|
|
1765
1787
|
class GetCodeSecurityScanConfigurationRequest
|
|
@@ -1898,6 +1920,11 @@ module Aws::Inspector2
|
|
|
1898
1920
|
SENSITIVE: []
|
|
1899
1921
|
end
|
|
1900
1922
|
|
|
1923
|
+
class GitHubEnterpriseServerAppRegistrationDetail
|
|
1924
|
+
attr_accessor manifest_code: ::String
|
|
1925
|
+
SENSITIVE: [:manifest_code]
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1901
1928
|
class Image
|
|
1902
1929
|
attr_accessor repository_name: ::String
|
|
1903
1930
|
attr_accessor registry: ::String
|
|
@@ -2408,6 +2435,9 @@ module Aws::Inspector2
|
|
|
2408
2435
|
attr_accessor source_layer_hash: Types::StringFilter
|
|
2409
2436
|
attr_accessor source_lambda_layer_arn: Types::StringFilter
|
|
2410
2437
|
attr_accessor file_path: Types::StringFilter
|
|
2438
|
+
attr_accessor runtime_reachability: Types::RuntimeReachabilityFilter
|
|
2439
|
+
attr_accessor runtime_reachability_reason: Types::RuntimeReachabilityReasonFilter
|
|
2440
|
+
attr_accessor purl_qualifier: Types::PurlQualifierFilter
|
|
2411
2441
|
SENSITIVE: []
|
|
2412
2442
|
end
|
|
2413
2443
|
|
|
@@ -2501,6 +2531,13 @@ module Aws::Inspector2
|
|
|
2501
2531
|
SENSITIVE: []
|
|
2502
2532
|
end
|
|
2503
2533
|
|
|
2534
|
+
class PurlQualifierFilter
|
|
2535
|
+
attr_accessor comparison: ("EQUALS")
|
|
2536
|
+
attr_accessor key: ("arch" | "collector" | "dev_dependency" | "distro" | "epoch" | "go_toolchain" | "hardened" | "private" | "rust_toolchain" | "scope" | "skip_chromium_download" | "source" | "stream" | "transitive_dependency" | "unresolved" | "vendor")
|
|
2537
|
+
attr_accessor value: ::String
|
|
2538
|
+
SENSITIVE: []
|
|
2539
|
+
end
|
|
2540
|
+
|
|
2504
2541
|
class Recommendation
|
|
2505
2542
|
attr_accessor text: ::String
|
|
2506
2543
|
attr_accessor url: ::String
|
|
@@ -2642,6 +2679,18 @@ module Aws::Inspector2
|
|
|
2642
2679
|
SENSITIVE: []
|
|
2643
2680
|
end
|
|
2644
2681
|
|
|
2682
|
+
class RuntimeReachabilityFilter
|
|
2683
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
|
2684
|
+
attr_accessor value: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
|
|
2685
|
+
SENSITIVE: []
|
|
2686
|
+
end
|
|
2687
|
+
|
|
2688
|
+
class RuntimeReachabilityReasonFilter
|
|
2689
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
|
2690
|
+
attr_accessor value: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
|
|
2691
|
+
SENSITIVE: []
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2645
2694
|
class ScanStatus
|
|
2646
2695
|
attr_accessor status_code: ("ACTIVE" | "INACTIVE")
|
|
2647
2696
|
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" | "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "STORAGE_LIMIT_EXCEEDED" | "INVALID_ARTIFACT")
|
|
@@ -2994,7 +3043,7 @@ module Aws::Inspector2
|
|
|
2994
3043
|
|
|
2995
3044
|
class UpdateCodeSecurityIntegrationResponse
|
|
2996
3045
|
attr_accessor integration_arn: ::String
|
|
2997
|
-
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
|
|
3046
|
+
attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
2998
3047
|
SENSITIVE: []
|
|
2999
3048
|
end
|
|
3000
3049
|
|
|
@@ -3088,20 +3137,44 @@ module Aws::Inspector2
|
|
|
3088
3137
|
SENSITIVE: []
|
|
3089
3138
|
end
|
|
3090
3139
|
|
|
3140
|
+
class UpdateGitHubEnterpriseServerAppInstallationDetail
|
|
3141
|
+
attr_accessor code: ::String
|
|
3142
|
+
attr_accessor installation_id: ::String
|
|
3143
|
+
attr_accessor state_token: ::String
|
|
3144
|
+
SENSITIVE: [:code, :state_token]
|
|
3145
|
+
end
|
|
3146
|
+
|
|
3147
|
+
class UpdateGitHubEnterpriseServerIntegrationDetail
|
|
3148
|
+
attr_accessor app_installation: Types::UpdateGitHubEnterpriseServerAppInstallationDetail
|
|
3149
|
+
attr_accessor app_registration: Types::GitHubEnterpriseServerAppRegistrationDetail
|
|
3150
|
+
attr_accessor unknown: untyped
|
|
3151
|
+
SENSITIVE: []
|
|
3152
|
+
|
|
3153
|
+
class AppInstallation < UpdateGitHubEnterpriseServerIntegrationDetail
|
|
3154
|
+
end
|
|
3155
|
+
class AppRegistration < UpdateGitHubEnterpriseServerIntegrationDetail
|
|
3156
|
+
end
|
|
3157
|
+
class Unknown < UpdateGitHubEnterpriseServerIntegrationDetail
|
|
3158
|
+
end
|
|
3159
|
+
end
|
|
3160
|
+
|
|
3091
3161
|
class UpdateGitHubIntegrationDetail
|
|
3092
3162
|
attr_accessor code: ::String
|
|
3093
3163
|
attr_accessor installation_id: ::String
|
|
3094
|
-
|
|
3164
|
+
attr_accessor state_token: ::String
|
|
3165
|
+
SENSITIVE: [:code, :state_token]
|
|
3095
3166
|
end
|
|
3096
3167
|
|
|
3097
3168
|
class UpdateGitLabSelfManagedIntegrationDetail
|
|
3098
3169
|
attr_accessor auth_code: ::String
|
|
3099
|
-
|
|
3170
|
+
attr_accessor state_token: ::String
|
|
3171
|
+
SENSITIVE: [:auth_code, :state_token]
|
|
3100
3172
|
end
|
|
3101
3173
|
|
|
3102
3174
|
class UpdateIntegrationDetails
|
|
3103
3175
|
attr_accessor gitlab_self_managed: Types::UpdateGitLabSelfManagedIntegrationDetail
|
|
3104
3176
|
attr_accessor github: Types::UpdateGitHubIntegrationDetail
|
|
3177
|
+
attr_accessor github_enterprise_server: Types::UpdateGitHubEnterpriseServerIntegrationDetail
|
|
3105
3178
|
attr_accessor unknown: untyped
|
|
3106
3179
|
SENSITIVE: []
|
|
3107
3180
|
|
|
@@ -3109,6 +3182,8 @@ module Aws::Inspector2
|
|
|
3109
3182
|
end
|
|
3110
3183
|
class Github < UpdateIntegrationDetails
|
|
3111
3184
|
end
|
|
3185
|
+
class GithubEnterpriseServer < UpdateIntegrationDetails
|
|
3186
|
+
end
|
|
3112
3187
|
class Unknown < UpdateIntegrationDetails
|
|
3113
3188
|
end
|
|
3114
3189
|
end
|
|
@@ -3257,6 +3332,9 @@ module Aws::Inspector2
|
|
|
3257
3332
|
attr_accessor fixed_in_version: ::String
|
|
3258
3333
|
attr_accessor remediation: ::String
|
|
3259
3334
|
attr_accessor source_lambda_layer_arn: ::String
|
|
3335
|
+
attr_accessor runtime_reachability: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
|
|
3336
|
+
attr_accessor runtime_reachability_reason: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
|
|
3337
|
+
attr_accessor purl: ::String
|
|
3260
3338
|
SENSITIVE: []
|
|
3261
3339
|
end
|
|
3262
3340
|
|