aws-sdk-securityagent 1.17.0 → 1.19.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 +150 -14
- data/lib/aws-sdk-securityagent/client_api.rb +112 -0
- data/lib/aws-sdk-securityagent/types.rb +415 -16
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +64 -9
- data/sig/types.rbs +112 -8
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -441,7 +441,7 @@ module Aws
|
|
|
441
441
|
end
|
|
442
442
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
|
|
443
443
|
def create_integration: (
|
|
444
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"),
|
|
444
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
445
445
|
input: {
|
|
446
446
|
github: {
|
|
447
447
|
code: ::String,
|
|
@@ -467,6 +467,16 @@ module Aws
|
|
|
467
467
|
code: ::String,
|
|
468
468
|
state: ::String,
|
|
469
469
|
site_url: ::String
|
|
470
|
+
}?,
|
|
471
|
+
azure_dev_ops: {
|
|
472
|
+
code: ::String,
|
|
473
|
+
state: ::String,
|
|
474
|
+
organization_name: ::String
|
|
475
|
+
}?,
|
|
476
|
+
bitbucket_data_center: {
|
|
477
|
+
target_url: ::String,
|
|
478
|
+
code: ::String,
|
|
479
|
+
state: ::String
|
|
470
480
|
}?
|
|
471
481
|
},
|
|
472
482
|
integration_display_name: ::String,
|
|
@@ -506,6 +516,7 @@ module Aws
|
|
|
506
516
|
def agent_space_id: () -> ::String
|
|
507
517
|
def report_destination: () -> Types::ReportDestination
|
|
508
518
|
def report_filters: () -> Types::ReportFilters
|
|
519
|
+
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
509
520
|
end
|
|
510
521
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_pentest-instance_method
|
|
511
522
|
def create_pentest: (
|
|
@@ -533,7 +544,10 @@ module Aws
|
|
|
533
544
|
parent_id: ::String?,
|
|
534
545
|
document_id: ::String?
|
|
535
546
|
},
|
|
536
|
-
?report_filters: Params::report_filters
|
|
547
|
+
?report_filters: Params::report_filters,
|
|
548
|
+
?cicd_configuration: {
|
|
549
|
+
enabled: bool?
|
|
550
|
+
}
|
|
537
551
|
) -> _CreatePentestResponseSuccess
|
|
538
552
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
539
553
|
|
|
@@ -840,11 +854,12 @@ module Aws
|
|
|
840
854
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
841
855
|
def integration_id: () -> ::String
|
|
842
856
|
def installation_id: () -> ::String
|
|
843
|
-
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
857
|
+
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
844
858
|
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
|
|
845
859
|
def display_name: () -> ::String
|
|
846
860
|
def kms_key_id: () -> ::String
|
|
847
861
|
def target_url: () -> ::String
|
|
862
|
+
def webhook_url: () -> ::String
|
|
848
863
|
def private_connection_name: () -> ::String
|
|
849
864
|
end
|
|
850
865
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_integration-instance_method
|
|
@@ -899,7 +914,11 @@ module Aws
|
|
|
899
914
|
end
|
|
900
915
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
|
|
901
916
|
def initiate_provider_registration: (
|
|
902
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
917
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
918
|
+
?target_url: ::String,
|
|
919
|
+
?organization_name: ::String,
|
|
920
|
+
?client_id: ::String,
|
|
921
|
+
?client_secret: ::String
|
|
903
922
|
) -> _InitiateProviderRegistrationResponseSuccess
|
|
904
923
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
|
|
905
924
|
|
|
@@ -1056,7 +1075,7 @@ module Aws
|
|
|
1056
1075
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
|
|
1057
1076
|
def list_integrations: (
|
|
1058
1077
|
?filter: {
|
|
1059
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")?,
|
|
1078
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")?,
|
|
1060
1079
|
provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
|
|
1061
1080
|
},
|
|
1062
1081
|
?next_token: ::String,
|
|
@@ -1105,7 +1124,8 @@ module Aws
|
|
|
1105
1124
|
?max_results: ::Integer,
|
|
1106
1125
|
pentest_id: ::String,
|
|
1107
1126
|
agent_space_id: ::String,
|
|
1108
|
-
?next_token: ::String
|
|
1127
|
+
?next_token: ::String,
|
|
1128
|
+
?job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1109
1129
|
) -> _ListPentestJobsForPentestResponseSuccess
|
|
1110
1130
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestJobsForPentestResponseSuccess
|
|
1111
1131
|
|
|
@@ -1286,8 +1306,17 @@ module Aws
|
|
|
1286
1306
|
def start_pentest_job: (
|
|
1287
1307
|
agent_space_id: ::String,
|
|
1288
1308
|
pentest_id: ::String,
|
|
1289
|
-
?job_type: ("FULL" | "REVALIDATION"),
|
|
1290
|
-
?selected_finding_ids: Array[::String]
|
|
1309
|
+
?job_type: ("FULL" | "REVALIDATION" | "CICD"),
|
|
1310
|
+
?selected_finding_ids: Array[::String],
|
|
1311
|
+
?scope_changes: Array[
|
|
1312
|
+
{
|
|
1313
|
+
integration_id: ::String,
|
|
1314
|
+
provider_resource_id: ::String,
|
|
1315
|
+
base_commit_sha: ::String?,
|
|
1316
|
+
head_commit_sha: ::String,
|
|
1317
|
+
trigger_run_id: ::String?
|
|
1318
|
+
}
|
|
1319
|
+
]
|
|
1291
1320
|
) -> _StartPentestJobResponseSuccess
|
|
1292
1321
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
|
|
1293
1322
|
|
|
@@ -1482,6 +1511,11 @@ module Aws
|
|
|
1482
1511
|
page_id: ::String,
|
|
1483
1512
|
title: ::String?,
|
|
1484
1513
|
space_title: ::String?
|
|
1514
|
+
}?,
|
|
1515
|
+
azure_dev_ops_repository: {
|
|
1516
|
+
name: ::String,
|
|
1517
|
+
organization: ::String,
|
|
1518
|
+
project: ::String?
|
|
1485
1519
|
}?
|
|
1486
1520
|
},
|
|
1487
1521
|
capabilities: {
|
|
@@ -1501,6 +1535,10 @@ module Aws
|
|
|
1501
1535
|
fetch_document: bool?,
|
|
1502
1536
|
create_document: bool?,
|
|
1503
1537
|
update_document: bool?
|
|
1538
|
+
}?,
|
|
1539
|
+
azure_dev_ops: {
|
|
1540
|
+
leave_comments: bool?,
|
|
1541
|
+
remediate_code: bool?
|
|
1504
1542
|
}?
|
|
1505
1543
|
}?
|
|
1506
1544
|
}
|
|
@@ -1508,6 +1546,19 @@ module Aws
|
|
|
1508
1546
|
) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1509
1547
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1510
1548
|
|
|
1549
|
+
interface _UpdateIntegrationResponseSuccess
|
|
1550
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntegrationOutput]
|
|
1551
|
+
def integration_id: () -> ::String
|
|
1552
|
+
def webhook_url: () -> ::String
|
|
1553
|
+
def secret: () -> ::String
|
|
1554
|
+
end
|
|
1555
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_integration-instance_method
|
|
1556
|
+
def update_integration: (
|
|
1557
|
+
integration_id: ::String,
|
|
1558
|
+
webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
1559
|
+
) -> _UpdateIntegrationResponseSuccess
|
|
1560
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegrationResponseSuccess
|
|
1561
|
+
|
|
1511
1562
|
interface _UpdatePentestResponseSuccess
|
|
1512
1563
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePentestOutput]
|
|
1513
1564
|
def pentest_id: () -> ::String
|
|
@@ -1521,6 +1572,7 @@ module Aws
|
|
|
1521
1572
|
def agent_space_id: () -> ::String
|
|
1522
1573
|
def report_destination: () -> Types::ReportDestination
|
|
1523
1574
|
def report_filters: () -> Types::ReportFilters
|
|
1575
|
+
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
1524
1576
|
end
|
|
1525
1577
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_pentest-instance_method
|
|
1526
1578
|
def update_pentest: (
|
|
@@ -1549,7 +1601,10 @@ module Aws
|
|
|
1549
1601
|
parent_id: ::String?,
|
|
1550
1602
|
document_id: ::String?
|
|
1551
1603
|
},
|
|
1552
|
-
?report_filters: Params::report_filters
|
|
1604
|
+
?report_filters: Params::report_filters,
|
|
1605
|
+
?cicd_configuration: {
|
|
1606
|
+
enabled: bool?
|
|
1607
|
+
}
|
|
1553
1608
|
) -> _UpdatePentestResponseSuccess
|
|
1554
1609
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
|
|
1555
1610
|
|
data/sig/types.rbs
CHANGED
|
@@ -120,6 +120,36 @@ 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 leave_comments: bool
|
|
149
|
+
attr_accessor remediate_code: bool
|
|
150
|
+
SENSITIVE: []
|
|
151
|
+
end
|
|
152
|
+
|
|
123
153
|
class BatchCreateSecurityRequirementResult
|
|
124
154
|
attr_accessor pack_id: ::String
|
|
125
155
|
attr_accessor name: ::String
|
|
@@ -400,6 +430,13 @@ module Aws::SecurityAgent
|
|
|
400
430
|
SENSITIVE: []
|
|
401
431
|
end
|
|
402
432
|
|
|
433
|
+
class BitbucketDataCenterIntegrationInput
|
|
434
|
+
attr_accessor target_url: ::String
|
|
435
|
+
attr_accessor code: ::String
|
|
436
|
+
attr_accessor state: ::String
|
|
437
|
+
SENSITIVE: []
|
|
438
|
+
end
|
|
439
|
+
|
|
403
440
|
class BitbucketIntegrationInput
|
|
404
441
|
attr_accessor installation_id: ::String
|
|
405
442
|
attr_accessor workspace: ::String
|
|
@@ -451,6 +488,11 @@ module Aws::SecurityAgent
|
|
|
451
488
|
SENSITIVE: []
|
|
452
489
|
end
|
|
453
490
|
|
|
491
|
+
class CiCdConfiguration
|
|
492
|
+
attr_accessor enabled: bool
|
|
493
|
+
SENSITIVE: []
|
|
494
|
+
end
|
|
495
|
+
|
|
454
496
|
class CloudWatchLog
|
|
455
497
|
attr_accessor log_group: ::String
|
|
456
498
|
attr_accessor log_stream: ::String
|
|
@@ -680,7 +722,7 @@ module Aws::SecurityAgent
|
|
|
680
722
|
end
|
|
681
723
|
|
|
682
724
|
class CreateIntegrationInput
|
|
683
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
725
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
684
726
|
attr_accessor input: Types::ProviderInput
|
|
685
727
|
attr_accessor integration_display_name: ::String
|
|
686
728
|
attr_accessor kms_key_id: ::String
|
|
@@ -720,6 +762,7 @@ module Aws::SecurityAgent
|
|
|
720
762
|
attr_accessor max_task_hours: ::Float
|
|
721
763
|
attr_accessor report_destination: Types::ReportDestination
|
|
722
764
|
attr_accessor report_filters: Types::ReportFilters
|
|
765
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
723
766
|
SENSITIVE: []
|
|
724
767
|
end
|
|
725
768
|
|
|
@@ -735,6 +778,7 @@ module Aws::SecurityAgent
|
|
|
735
778
|
attr_accessor agent_space_id: ::String
|
|
736
779
|
attr_accessor report_destination: Types::ReportDestination
|
|
737
780
|
attr_accessor report_filters: Types::ReportFilters
|
|
781
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
738
782
|
SENSITIVE: []
|
|
739
783
|
end
|
|
740
784
|
|
|
@@ -1141,11 +1185,12 @@ module Aws::SecurityAgent
|
|
|
1141
1185
|
class GetIntegrationOutput
|
|
1142
1186
|
attr_accessor integration_id: ::String
|
|
1143
1187
|
attr_accessor installation_id: ::String
|
|
1144
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1188
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1145
1189
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1146
1190
|
attr_accessor display_name: ::String
|
|
1147
1191
|
attr_accessor kms_key_id: ::String
|
|
1148
1192
|
attr_accessor target_url: ::String
|
|
1193
|
+
attr_accessor webhook_url: ::String
|
|
1149
1194
|
attr_accessor private_connection_name: ::String
|
|
1150
1195
|
SENSITIVE: []
|
|
1151
1196
|
end
|
|
@@ -1262,8 +1307,12 @@ module Aws::SecurityAgent
|
|
|
1262
1307
|
end
|
|
1263
1308
|
|
|
1264
1309
|
class InitiateProviderRegistrationInput
|
|
1265
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1266
|
-
|
|
1310
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1311
|
+
attr_accessor target_url: ::String
|
|
1312
|
+
attr_accessor organization_name: ::String
|
|
1313
|
+
attr_accessor client_id: ::String
|
|
1314
|
+
attr_accessor client_secret: ::String
|
|
1315
|
+
SENSITIVE: [:client_secret]
|
|
1267
1316
|
end
|
|
1268
1317
|
|
|
1269
1318
|
class InitiateProviderRegistrationOutput
|
|
@@ -1290,6 +1339,7 @@ module Aws::SecurityAgent
|
|
|
1290
1339
|
attr_accessor gitlab_repository: Types::GitLabRepositoryResource
|
|
1291
1340
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryResource
|
|
1292
1341
|
attr_accessor confluence_document: Types::ConfluenceDocumentResource
|
|
1342
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryResource
|
|
1293
1343
|
attr_accessor unknown: untyped
|
|
1294
1344
|
SENSITIVE: []
|
|
1295
1345
|
|
|
@@ -1301,6 +1351,8 @@ module Aws::SecurityAgent
|
|
|
1301
1351
|
end
|
|
1302
1352
|
class ConfluenceDocument < IntegratedResource
|
|
1303
1353
|
end
|
|
1354
|
+
class AzureDevOpsRepository < IntegratedResource
|
|
1355
|
+
end
|
|
1304
1356
|
class Unknown < IntegratedResource
|
|
1305
1357
|
end
|
|
1306
1358
|
end
|
|
@@ -1316,6 +1368,7 @@ module Aws::SecurityAgent
|
|
|
1316
1368
|
attr_accessor gitlab_repository: Types::GitLabRepositoryMetadata
|
|
1317
1369
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryMetadata
|
|
1318
1370
|
attr_accessor confluence_document: Types::ConfluenceDocumentMetadata
|
|
1371
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryMetadata
|
|
1319
1372
|
attr_accessor unknown: untyped
|
|
1320
1373
|
SENSITIVE: []
|
|
1321
1374
|
|
|
@@ -1327,6 +1380,8 @@ module Aws::SecurityAgent
|
|
|
1327
1380
|
end
|
|
1328
1381
|
class ConfluenceDocument < IntegratedResourceMetadata
|
|
1329
1382
|
end
|
|
1383
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata
|
|
1384
|
+
end
|
|
1330
1385
|
class Unknown < IntegratedResourceMetadata
|
|
1331
1386
|
end
|
|
1332
1387
|
end
|
|
@@ -1339,7 +1394,7 @@ module Aws::SecurityAgent
|
|
|
1339
1394
|
end
|
|
1340
1395
|
|
|
1341
1396
|
class IntegrationFilter
|
|
1342
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1397
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1343
1398
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1344
1399
|
attr_accessor unknown: untyped
|
|
1345
1400
|
SENSITIVE: []
|
|
@@ -1355,10 +1410,11 @@ module Aws::SecurityAgent
|
|
|
1355
1410
|
class IntegrationSummary
|
|
1356
1411
|
attr_accessor integration_id: ::String
|
|
1357
1412
|
attr_accessor installation_id: ::String
|
|
1358
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1413
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1359
1414
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1360
1415
|
attr_accessor display_name: ::String
|
|
1361
1416
|
attr_accessor target_url: ::String
|
|
1417
|
+
attr_accessor webhook_url: ::String
|
|
1362
1418
|
attr_accessor private_connection_name: ::String
|
|
1363
1419
|
SENSITIVE: []
|
|
1364
1420
|
end
|
|
@@ -1562,6 +1618,7 @@ module Aws::SecurityAgent
|
|
|
1562
1618
|
attr_accessor pentest_id: ::String
|
|
1563
1619
|
attr_accessor agent_space_id: ::String
|
|
1564
1620
|
attr_accessor next_token: ::String
|
|
1621
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1565
1622
|
SENSITIVE: []
|
|
1566
1623
|
end
|
|
1567
1624
|
|
|
@@ -1776,6 +1833,7 @@ module Aws::SecurityAgent
|
|
|
1776
1833
|
attr_accessor max_task_hours: ::Float
|
|
1777
1834
|
attr_accessor report_destination: Types::ReportDestination
|
|
1778
1835
|
attr_accessor report_filters: Types::ReportFilters
|
|
1836
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1779
1837
|
attr_accessor created_at: ::Time
|
|
1780
1838
|
attr_accessor updated_at: ::Time
|
|
1781
1839
|
SENSITIVE: []
|
|
@@ -1807,9 +1865,13 @@ module Aws::SecurityAgent
|
|
|
1807
1865
|
attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
|
|
1808
1866
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
1809
1867
|
attr_accessor max_task_hours: ::Float
|
|
1810
|
-
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
1868
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1811
1869
|
attr_accessor selected_finding_ids: ::Array[::String]
|
|
1812
1870
|
attr_accessor report_destination: Types::ReportDestination
|
|
1871
|
+
attr_accessor report_url: ::String
|
|
1872
|
+
attr_accessor scope_result: Types::ScopeResult
|
|
1873
|
+
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
1874
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1813
1875
|
attr_accessor created_at: ::Time
|
|
1814
1876
|
attr_accessor updated_at: ::Time
|
|
1815
1877
|
SENSITIVE: []
|
|
@@ -1822,6 +1884,8 @@ module Aws::SecurityAgent
|
|
|
1822
1884
|
attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
|
|
1823
1885
|
attr_accessor created_at: ::Time
|
|
1824
1886
|
attr_accessor updated_at: ::Time
|
|
1887
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1888
|
+
attr_accessor report_url: ::String
|
|
1825
1889
|
SENSITIVE: []
|
|
1826
1890
|
end
|
|
1827
1891
|
|
|
@@ -1868,6 +1932,8 @@ module Aws::SecurityAgent
|
|
|
1868
1932
|
attr_accessor gitlab: Types::GitLabIntegrationInput
|
|
1869
1933
|
attr_accessor bitbucket: Types::BitbucketIntegrationInput
|
|
1870
1934
|
attr_accessor confluence: Types::ConfluenceIntegrationInput
|
|
1935
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsIntegrationInput
|
|
1936
|
+
attr_accessor bitbucket_data_center: Types::BitbucketDataCenterIntegrationInput
|
|
1871
1937
|
attr_accessor unknown: untyped
|
|
1872
1938
|
SENSITIVE: []
|
|
1873
1939
|
|
|
@@ -1879,6 +1945,10 @@ module Aws::SecurityAgent
|
|
|
1879
1945
|
end
|
|
1880
1946
|
class Confluence < ProviderInput
|
|
1881
1947
|
end
|
|
1948
|
+
class AzureDevOps < ProviderInput
|
|
1949
|
+
end
|
|
1950
|
+
class BitbucketDataCenter < ProviderInput
|
|
1951
|
+
end
|
|
1882
1952
|
class Unknown < ProviderInput
|
|
1883
1953
|
end
|
|
1884
1954
|
end
|
|
@@ -1888,6 +1958,7 @@ module Aws::SecurityAgent
|
|
|
1888
1958
|
attr_accessor gitlab: Types::GitLabResourceCapabilities
|
|
1889
1959
|
attr_accessor bitbucket: Types::BitbucketResourceCapabilities
|
|
1890
1960
|
attr_accessor confluence: Types::ConfluenceResourceCapabilities
|
|
1961
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsResourceCapabilities
|
|
1891
1962
|
attr_accessor unknown: untyped
|
|
1892
1963
|
SENSITIVE: []
|
|
1893
1964
|
|
|
@@ -1899,6 +1970,8 @@ module Aws::SecurityAgent
|
|
|
1899
1970
|
end
|
|
1900
1971
|
class Confluence < ProviderResourceCapabilities
|
|
1901
1972
|
end
|
|
1973
|
+
class AzureDevOps < ProviderResourceCapabilities
|
|
1974
|
+
end
|
|
1902
1975
|
class Unknown < ProviderResourceCapabilities
|
|
1903
1976
|
end
|
|
1904
1977
|
end
|
|
@@ -1928,6 +2001,21 @@ module Aws::SecurityAgent
|
|
|
1928
2001
|
SENSITIVE: []
|
|
1929
2002
|
end
|
|
1930
2003
|
|
|
2004
|
+
class ScopeChange
|
|
2005
|
+
attr_accessor integration_id: ::String
|
|
2006
|
+
attr_accessor provider_resource_id: ::String
|
|
2007
|
+
attr_accessor base_commit_sha: ::String
|
|
2008
|
+
attr_accessor head_commit_sha: ::String
|
|
2009
|
+
attr_accessor trigger_run_id: ::String
|
|
2010
|
+
SENSITIVE: []
|
|
2011
|
+
end
|
|
2012
|
+
|
|
2013
|
+
class ScopeResult
|
|
2014
|
+
attr_accessor decision: ("IN_SCOPE" | "SCOPED_OUT" | "SCOPE_CONFLICT")
|
|
2015
|
+
attr_accessor reason: ::String
|
|
2016
|
+
SENSITIVE: []
|
|
2017
|
+
end
|
|
2018
|
+
|
|
1931
2019
|
class SecurityRequirementArtifact
|
|
1932
2020
|
attr_accessor name: ::String
|
|
1933
2021
|
attr_accessor format: ("MD" | "PDF" | "TXT" | "DOCX" | "DOC")
|
|
@@ -2017,8 +2105,9 @@ module Aws::SecurityAgent
|
|
|
2017
2105
|
class StartPentestJobInput
|
|
2018
2106
|
attr_accessor agent_space_id: ::String
|
|
2019
2107
|
attr_accessor pentest_id: ::String
|
|
2020
|
-
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
2108
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
2021
2109
|
attr_accessor selected_finding_ids: ::Array[::String]
|
|
2110
|
+
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
2022
2111
|
SENSITIVE: []
|
|
2023
2112
|
end
|
|
2024
2113
|
|
|
@@ -2393,6 +2482,19 @@ module Aws::SecurityAgent
|
|
|
2393
2482
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure
|
|
2394
2483
|
end
|
|
2395
2484
|
|
|
2485
|
+
class UpdateIntegrationInput
|
|
2486
|
+
attr_accessor integration_id: ::String
|
|
2487
|
+
attr_accessor webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
2488
|
+
SENSITIVE: []
|
|
2489
|
+
end
|
|
2490
|
+
|
|
2491
|
+
class UpdateIntegrationOutput
|
|
2492
|
+
attr_accessor integration_id: ::String
|
|
2493
|
+
attr_accessor webhook_url: ::String
|
|
2494
|
+
attr_accessor secret: ::String
|
|
2495
|
+
SENSITIVE: [:secret]
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2396
2498
|
class UpdatePentestInput
|
|
2397
2499
|
attr_accessor pentest_id: ::String
|
|
2398
2500
|
attr_accessor agent_space_id: ::String
|
|
@@ -2408,6 +2510,7 @@ module Aws::SecurityAgent
|
|
|
2408
2510
|
attr_accessor max_task_hours: ::Float
|
|
2409
2511
|
attr_accessor report_destination: Types::ReportDestination
|
|
2410
2512
|
attr_accessor report_filters: Types::ReportFilters
|
|
2513
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2411
2514
|
SENSITIVE: []
|
|
2412
2515
|
end
|
|
2413
2516
|
|
|
@@ -2423,6 +2526,7 @@ module Aws::SecurityAgent
|
|
|
2423
2526
|
attr_accessor agent_space_id: ::String
|
|
2424
2527
|
attr_accessor report_destination: Types::ReportDestination
|
|
2425
2528
|
attr_accessor report_filters: Types::ReportFilters
|
|
2529
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2426
2530
|
SENSITIVE: []
|
|
2427
2531
|
end
|
|
2428
2532
|
|