aws-sdk-securityagent 1.18.0 → 1.20.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-securityagent/client.rb +175 -9
- data/lib/aws-sdk-securityagent/client_api.rb +109 -0
- data/lib/aws-sdk-securityagent/types.rb +333 -5
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +53 -4
- data/sig/params.rbs +11 -0
- data/sig/types.rbs +94 -6
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -120,6 +120,37 @@ module Aws::SecurityAgent
|
|
|
120
120
|
SENSITIVE: []
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
+
class AzureDevOpsIntegrationInput
|
|
124
|
+
attr_accessor code: ::String
|
|
125
|
+
attr_accessor state: ::String
|
|
126
|
+
attr_accessor organization_name: ::String
|
|
127
|
+
SENSITIVE: []
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
class AzureDevOpsRepositoryMetadata
|
|
131
|
+
attr_accessor name: ::String
|
|
132
|
+
attr_accessor provider_resource_id: ::String
|
|
133
|
+
attr_accessor organization: ::String
|
|
134
|
+
attr_accessor project: ::String
|
|
135
|
+
attr_accessor project_id: ::String
|
|
136
|
+
attr_accessor access_type: ("PRIVATE" | "PUBLIC")
|
|
137
|
+
SENSITIVE: []
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
class AzureDevOpsRepositoryResource
|
|
141
|
+
attr_accessor name: ::String
|
|
142
|
+
attr_accessor organization: ::String
|
|
143
|
+
attr_accessor project: ::String
|
|
144
|
+
SENSITIVE: []
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class AzureDevOpsResourceCapabilities
|
|
148
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
149
|
+
attr_accessor leave_comments: bool
|
|
150
|
+
attr_accessor remediate_code: bool
|
|
151
|
+
SENSITIVE: []
|
|
152
|
+
end
|
|
153
|
+
|
|
123
154
|
class BatchCreateSecurityRequirementResult
|
|
124
155
|
attr_accessor pack_id: ::String
|
|
125
156
|
attr_accessor name: ::String
|
|
@@ -400,6 +431,13 @@ module Aws::SecurityAgent
|
|
|
400
431
|
SENSITIVE: []
|
|
401
432
|
end
|
|
402
433
|
|
|
434
|
+
class BitbucketDataCenterIntegrationInput
|
|
435
|
+
attr_accessor target_url: ::String
|
|
436
|
+
attr_accessor code: ::String
|
|
437
|
+
attr_accessor state: ::String
|
|
438
|
+
SENSITIVE: []
|
|
439
|
+
end
|
|
440
|
+
|
|
403
441
|
class BitbucketIntegrationInput
|
|
404
442
|
attr_accessor installation_id: ::String
|
|
405
443
|
attr_accessor workspace: ::String
|
|
@@ -423,6 +461,7 @@ module Aws::SecurityAgent
|
|
|
423
461
|
end
|
|
424
462
|
|
|
425
463
|
class BitbucketResourceCapabilities
|
|
464
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
426
465
|
attr_accessor leave_comments: bool
|
|
427
466
|
attr_accessor remediate_code: bool
|
|
428
467
|
SENSITIVE: []
|
|
@@ -685,7 +724,7 @@ module Aws::SecurityAgent
|
|
|
685
724
|
end
|
|
686
725
|
|
|
687
726
|
class CreateIntegrationInput
|
|
688
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
727
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
689
728
|
attr_accessor input: Types::ProviderInput
|
|
690
729
|
attr_accessor integration_display_name: ::String
|
|
691
730
|
attr_accessor kms_key_id: ::String
|
|
@@ -1148,11 +1187,12 @@ module Aws::SecurityAgent
|
|
|
1148
1187
|
class GetIntegrationOutput
|
|
1149
1188
|
attr_accessor integration_id: ::String
|
|
1150
1189
|
attr_accessor installation_id: ::String
|
|
1151
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1190
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1152
1191
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1153
1192
|
attr_accessor display_name: ::String
|
|
1154
1193
|
attr_accessor kms_key_id: ::String
|
|
1155
1194
|
attr_accessor target_url: ::String
|
|
1195
|
+
attr_accessor webhook_url: ::String
|
|
1156
1196
|
attr_accessor private_connection_name: ::String
|
|
1157
1197
|
SENSITIVE: []
|
|
1158
1198
|
end
|
|
@@ -1200,6 +1240,7 @@ module Aws::SecurityAgent
|
|
|
1200
1240
|
end
|
|
1201
1241
|
|
|
1202
1242
|
class GitHubResourceCapabilities
|
|
1243
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
1203
1244
|
attr_accessor leave_comments: bool
|
|
1204
1245
|
attr_accessor remediate_code: bool
|
|
1205
1246
|
SENSITIVE: []
|
|
@@ -1228,6 +1269,7 @@ module Aws::SecurityAgent
|
|
|
1228
1269
|
end
|
|
1229
1270
|
|
|
1230
1271
|
class GitLabResourceCapabilities
|
|
1272
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
1231
1273
|
attr_accessor leave_comments: bool
|
|
1232
1274
|
attr_accessor remediate_code: bool
|
|
1233
1275
|
SENSITIVE: []
|
|
@@ -1269,8 +1311,12 @@ module Aws::SecurityAgent
|
|
|
1269
1311
|
end
|
|
1270
1312
|
|
|
1271
1313
|
class InitiateProviderRegistrationInput
|
|
1272
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1273
|
-
|
|
1314
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1315
|
+
attr_accessor target_url: ::String
|
|
1316
|
+
attr_accessor organization_name: ::String
|
|
1317
|
+
attr_accessor client_id: ::String
|
|
1318
|
+
attr_accessor client_secret: ::String
|
|
1319
|
+
SENSITIVE: [:client_secret]
|
|
1274
1320
|
end
|
|
1275
1321
|
|
|
1276
1322
|
class InitiateProviderRegistrationOutput
|
|
@@ -1297,6 +1343,7 @@ module Aws::SecurityAgent
|
|
|
1297
1343
|
attr_accessor gitlab_repository: Types::GitLabRepositoryResource
|
|
1298
1344
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryResource
|
|
1299
1345
|
attr_accessor confluence_document: Types::ConfluenceDocumentResource
|
|
1346
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryResource
|
|
1300
1347
|
attr_accessor unknown: untyped
|
|
1301
1348
|
SENSITIVE: []
|
|
1302
1349
|
|
|
@@ -1308,6 +1355,8 @@ module Aws::SecurityAgent
|
|
|
1308
1355
|
end
|
|
1309
1356
|
class ConfluenceDocument < IntegratedResource
|
|
1310
1357
|
end
|
|
1358
|
+
class AzureDevOpsRepository < IntegratedResource
|
|
1359
|
+
end
|
|
1311
1360
|
class Unknown < IntegratedResource
|
|
1312
1361
|
end
|
|
1313
1362
|
end
|
|
@@ -1323,6 +1372,7 @@ module Aws::SecurityAgent
|
|
|
1323
1372
|
attr_accessor gitlab_repository: Types::GitLabRepositoryMetadata
|
|
1324
1373
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryMetadata
|
|
1325
1374
|
attr_accessor confluence_document: Types::ConfluenceDocumentMetadata
|
|
1375
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryMetadata
|
|
1326
1376
|
attr_accessor unknown: untyped
|
|
1327
1377
|
SENSITIVE: []
|
|
1328
1378
|
|
|
@@ -1334,6 +1384,8 @@ module Aws::SecurityAgent
|
|
|
1334
1384
|
end
|
|
1335
1385
|
class ConfluenceDocument < IntegratedResourceMetadata
|
|
1336
1386
|
end
|
|
1387
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata
|
|
1388
|
+
end
|
|
1337
1389
|
class Unknown < IntegratedResourceMetadata
|
|
1338
1390
|
end
|
|
1339
1391
|
end
|
|
@@ -1346,7 +1398,7 @@ module Aws::SecurityAgent
|
|
|
1346
1398
|
end
|
|
1347
1399
|
|
|
1348
1400
|
class IntegrationFilter
|
|
1349
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1401
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1350
1402
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1351
1403
|
attr_accessor unknown: untyped
|
|
1352
1404
|
SENSITIVE: []
|
|
@@ -1362,10 +1414,11 @@ module Aws::SecurityAgent
|
|
|
1362
1414
|
class IntegrationSummary
|
|
1363
1415
|
attr_accessor integration_id: ::String
|
|
1364
1416
|
attr_accessor installation_id: ::String
|
|
1365
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1417
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1366
1418
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1367
1419
|
attr_accessor display_name: ::String
|
|
1368
1420
|
attr_accessor target_url: ::String
|
|
1421
|
+
attr_accessor webhook_url: ::String
|
|
1369
1422
|
attr_accessor private_connection_name: ::String
|
|
1370
1423
|
SENSITIVE: []
|
|
1371
1424
|
end
|
|
@@ -1883,6 +1936,8 @@ module Aws::SecurityAgent
|
|
|
1883
1936
|
attr_accessor gitlab: Types::GitLabIntegrationInput
|
|
1884
1937
|
attr_accessor bitbucket: Types::BitbucketIntegrationInput
|
|
1885
1938
|
attr_accessor confluence: Types::ConfluenceIntegrationInput
|
|
1939
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsIntegrationInput
|
|
1940
|
+
attr_accessor bitbucket_data_center: Types::BitbucketDataCenterIntegrationInput
|
|
1886
1941
|
attr_accessor unknown: untyped
|
|
1887
1942
|
SENSITIVE: []
|
|
1888
1943
|
|
|
@@ -1894,6 +1949,10 @@ module Aws::SecurityAgent
|
|
|
1894
1949
|
end
|
|
1895
1950
|
class Confluence < ProviderInput
|
|
1896
1951
|
end
|
|
1952
|
+
class AzureDevOps < ProviderInput
|
|
1953
|
+
end
|
|
1954
|
+
class BitbucketDataCenter < ProviderInput
|
|
1955
|
+
end
|
|
1897
1956
|
class Unknown < ProviderInput
|
|
1898
1957
|
end
|
|
1899
1958
|
end
|
|
@@ -1903,6 +1962,7 @@ module Aws::SecurityAgent
|
|
|
1903
1962
|
attr_accessor gitlab: Types::GitLabResourceCapabilities
|
|
1904
1963
|
attr_accessor bitbucket: Types::BitbucketResourceCapabilities
|
|
1905
1964
|
attr_accessor confluence: Types::ConfluenceResourceCapabilities
|
|
1965
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsResourceCapabilities
|
|
1906
1966
|
attr_accessor unknown: untyped
|
|
1907
1967
|
SENSITIVE: []
|
|
1908
1968
|
|
|
@@ -1914,6 +1974,8 @@ module Aws::SecurityAgent
|
|
|
1914
1974
|
end
|
|
1915
1975
|
class Confluence < ProviderResourceCapabilities
|
|
1916
1976
|
end
|
|
1977
|
+
class AzureDevOps < ProviderResourceCapabilities
|
|
1978
|
+
end
|
|
1917
1979
|
class Unknown < ProviderResourceCapabilities
|
|
1918
1980
|
end
|
|
1919
1981
|
end
|
|
@@ -2316,6 +2378,19 @@ module Aws::SecurityAgent
|
|
|
2316
2378
|
SENSITIVE: []
|
|
2317
2379
|
end
|
|
2318
2380
|
|
|
2381
|
+
class TriggerFilter
|
|
2382
|
+
attr_accessor type: ("TARGET_BRANCH" | "LABEL")
|
|
2383
|
+
attr_accessor patterns: ::Array[::String]
|
|
2384
|
+
attr_accessor match_mode: ("INCLUDE" | "EXCLUDE")
|
|
2385
|
+
SENSITIVE: []
|
|
2386
|
+
end
|
|
2387
|
+
|
|
2388
|
+
class TriggerFilterGroup
|
|
2389
|
+
attr_accessor events: ::Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT" | "PULL_REQUEST_LABEL_ADDED")]
|
|
2390
|
+
attr_accessor filters: ::Array[Types::TriggerFilter]
|
|
2391
|
+
SENSITIVE: []
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2319
2394
|
class TrustedCaCertificate
|
|
2320
2395
|
attr_accessor source: Types::CaCertificateSource
|
|
2321
2396
|
SENSITIVE: []
|
|
@@ -2424,6 +2499,19 @@ module Aws::SecurityAgent
|
|
|
2424
2499
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure
|
|
2425
2500
|
end
|
|
2426
2501
|
|
|
2502
|
+
class UpdateIntegrationInput
|
|
2503
|
+
attr_accessor integration_id: ::String
|
|
2504
|
+
attr_accessor webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
2505
|
+
SENSITIVE: []
|
|
2506
|
+
end
|
|
2507
|
+
|
|
2508
|
+
class UpdateIntegrationOutput
|
|
2509
|
+
attr_accessor integration_id: ::String
|
|
2510
|
+
attr_accessor webhook_url: ::String
|
|
2511
|
+
attr_accessor secret: ::String
|
|
2512
|
+
SENSITIVE: [:secret]
|
|
2513
|
+
end
|
|
2514
|
+
|
|
2427
2515
|
class UpdatePentestInput
|
|
2428
2516
|
attr_accessor pentest_id: ::String
|
|
2429
2517
|
attr_accessor agent_space_id: ::String
|