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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59805d9b7f6aad7b60dfd98d4e7a115a5a9e2a01df878aaa9ab255bfb8f23625
|
|
4
|
+
data.tar.gz: 8d3c15cf8892f19b36cf18f7472d6f10761f689141af5880a7fea249709f5d62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7b8f009d8873c93bc7ccbf0564d388569bbbae7556670ff1a301b671c55f7a4d2fde04cd5fb072b7b4870cb664657cf5f656b4f9bc633172b444ad0af32c1c8
|
|
7
|
+
data.tar.gz: b96c6c9443aa0d1410c56823bd42c2eb45a5ef87358a3980fa2efe546f2106ad49e5d20ab324f3d92b9fb6993b40d72afa440be15c7437cff73862e8f076b8e4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.19.0 (2026-09-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for Azure DevOps and Bitbucket Data Center integration providers.
|
|
8
|
+
|
|
9
|
+
1.18.0 (2026-09-28)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Run automated penetration tests directly from your CI-CD pipeline to scan code changes before they ship, gating deployments on the findings
|
|
13
|
+
|
|
4
14
|
1.17.0 (2026-09-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.19.0
|
|
@@ -702,6 +702,7 @@ module Aws::SecurityAgent
|
|
|
702
702
|
# resp.deleted[0].report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
703
703
|
# resp.deleted[0].report_filters.annotation_notes #=> Boolean
|
|
704
704
|
# resp.deleted[0].report_filters.compliance_report #=> Boolean
|
|
705
|
+
# resp.deleted[0].cicd_configuration.enabled #=> Boolean
|
|
705
706
|
# resp.deleted[0].created_at #=> Time
|
|
706
707
|
# resp.deleted[0].updated_at #=> Time
|
|
707
708
|
# resp.failed #=> Array
|
|
@@ -1330,13 +1331,23 @@ module Aws::SecurityAgent
|
|
|
1330
1331
|
# resp.pentest_jobs[0].disable_managed_skills #=> Array
|
|
1331
1332
|
# resp.pentest_jobs[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
|
|
1332
1333
|
# resp.pentest_jobs[0].max_task_hours #=> Float
|
|
1333
|
-
# resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION"
|
|
1334
|
+
# resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
|
|
1334
1335
|
# resp.pentest_jobs[0].selected_finding_ids #=> Array
|
|
1335
1336
|
# resp.pentest_jobs[0].selected_finding_ids[0] #=> String
|
|
1336
1337
|
# resp.pentest_jobs[0].report_destination.integration_id #=> String
|
|
1337
1338
|
# resp.pentest_jobs[0].report_destination.container_id #=> String
|
|
1338
1339
|
# resp.pentest_jobs[0].report_destination.parent_id #=> String
|
|
1339
1340
|
# resp.pentest_jobs[0].report_destination.document_id #=> String
|
|
1341
|
+
# resp.pentest_jobs[0].report_url #=> String
|
|
1342
|
+
# resp.pentest_jobs[0].scope_result.decision #=> String, one of "IN_SCOPE", "SCOPED_OUT", "SCOPE_CONFLICT"
|
|
1343
|
+
# resp.pentest_jobs[0].scope_result.reason #=> String
|
|
1344
|
+
# resp.pentest_jobs[0].scope_changes #=> Array
|
|
1345
|
+
# resp.pentest_jobs[0].scope_changes[0].integration_id #=> String
|
|
1346
|
+
# resp.pentest_jobs[0].scope_changes[0].provider_resource_id #=> String
|
|
1347
|
+
# resp.pentest_jobs[0].scope_changes[0].base_commit_sha #=> String
|
|
1348
|
+
# resp.pentest_jobs[0].scope_changes[0].head_commit_sha #=> String
|
|
1349
|
+
# resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
|
|
1350
|
+
# resp.pentest_jobs[0].cicd_configuration.enabled #=> Boolean
|
|
1340
1351
|
# resp.pentest_jobs[0].created_at #=> Time
|
|
1341
1352
|
# resp.pentest_jobs[0].updated_at #=> Time
|
|
1342
1353
|
# resp.not_found #=> Array
|
|
@@ -1443,6 +1454,7 @@ module Aws::SecurityAgent
|
|
|
1443
1454
|
# resp.pentests[0].report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
1444
1455
|
# resp.pentests[0].report_filters.annotation_notes #=> Boolean
|
|
1445
1456
|
# resp.pentests[0].report_filters.compliance_report #=> Boolean
|
|
1457
|
+
# resp.pentests[0].cicd_configuration.enabled #=> Boolean
|
|
1446
1458
|
# resp.pentests[0].created_at #=> Time
|
|
1447
1459
|
# resp.pentests[0].updated_at #=> Time
|
|
1448
1460
|
# resp.not_found #=> Array
|
|
@@ -2215,7 +2227,7 @@ module Aws::SecurityAgent
|
|
|
2215
2227
|
# for code review and remediation.
|
|
2216
2228
|
#
|
|
2217
2229
|
# @option params [required, String] :provider
|
|
2218
|
-
# The integration provider.
|
|
2230
|
+
# The integration provider.
|
|
2219
2231
|
#
|
|
2220
2232
|
# @option params [required, Types::ProviderInput] :input
|
|
2221
2233
|
# The provider-specific input required to create the integration.
|
|
@@ -2242,7 +2254,7 @@ module Aws::SecurityAgent
|
|
|
2242
2254
|
# @example Request syntax with placeholder values
|
|
2243
2255
|
#
|
|
2244
2256
|
# resp = client.create_integration({
|
|
2245
|
-
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
2257
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
2246
2258
|
# input: { # required
|
|
2247
2259
|
# github: {
|
|
2248
2260
|
# code: "AuthCode", # required
|
|
@@ -2269,6 +2281,16 @@ module Aws::SecurityAgent
|
|
|
2269
2281
|
# state: "CsrfState", # required
|
|
2270
2282
|
# site_url: "ConfluenceSiteUrl", # required
|
|
2271
2283
|
# },
|
|
2284
|
+
# azure_dev_ops: {
|
|
2285
|
+
# code: "AuthCode", # required
|
|
2286
|
+
# state: "CsrfState", # required
|
|
2287
|
+
# organization_name: "String", # required
|
|
2288
|
+
# },
|
|
2289
|
+
# bitbucket_data_center: {
|
|
2290
|
+
# target_url: "TargetUrl", # required
|
|
2291
|
+
# code: "AuthCode", # required
|
|
2292
|
+
# state: "CsrfState", # required
|
|
2293
|
+
# },
|
|
2272
2294
|
# },
|
|
2273
2295
|
# integration_display_name: "String", # required
|
|
2274
2296
|
# kms_key_id: "KmsKeyId",
|
|
@@ -2385,6 +2407,9 @@ module Aws::SecurityAgent
|
|
|
2385
2407
|
# @option params [Types::ReportFilters] :report_filters
|
|
2386
2408
|
# The report-generation filters applied when the report is exported.
|
|
2387
2409
|
#
|
|
2410
|
+
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
2411
|
+
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2412
|
+
#
|
|
2388
2413
|
# @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2389
2414
|
#
|
|
2390
2415
|
# * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -2398,6 +2423,7 @@ module Aws::SecurityAgent
|
|
|
2398
2423
|
# * {Types::CreatePentestOutput#agent_space_id #agent_space_id} => String
|
|
2399
2424
|
# * {Types::CreatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
2400
2425
|
# * {Types::CreatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
2426
|
+
# * {Types::CreatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
2401
2427
|
#
|
|
2402
2428
|
# @example Request syntax with placeholder values
|
|
2403
2429
|
#
|
|
@@ -2500,6 +2526,9 @@ module Aws::SecurityAgent
|
|
|
2500
2526
|
# annotation_notes: false,
|
|
2501
2527
|
# compliance_report: false,
|
|
2502
2528
|
# },
|
|
2529
|
+
# cicd_configuration: {
|
|
2530
|
+
# enabled: false,
|
|
2531
|
+
# },
|
|
2503
2532
|
# })
|
|
2504
2533
|
#
|
|
2505
2534
|
# @example Response structure
|
|
@@ -2558,6 +2587,7 @@ module Aws::SecurityAgent
|
|
|
2558
2587
|
# resp.report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
2559
2588
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
2560
2589
|
# resp.report_filters.compliance_report #=> Boolean
|
|
2590
|
+
# resp.cicd_configuration.enabled #=> Boolean
|
|
2561
2591
|
#
|
|
2562
2592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentest AWS API Documentation
|
|
2563
2593
|
#
|
|
@@ -3455,6 +3485,7 @@ module Aws::SecurityAgent
|
|
|
3455
3485
|
# * {Types::GetIntegrationOutput#display_name #display_name} => String
|
|
3456
3486
|
# * {Types::GetIntegrationOutput#kms_key_id #kms_key_id} => String
|
|
3457
3487
|
# * {Types::GetIntegrationOutput#target_url #target_url} => String
|
|
3488
|
+
# * {Types::GetIntegrationOutput#webhook_url #webhook_url} => String
|
|
3458
3489
|
# * {Types::GetIntegrationOutput#private_connection_name #private_connection_name} => String
|
|
3459
3490
|
#
|
|
3460
3491
|
# @example Request syntax with placeholder values
|
|
@@ -3467,11 +3498,12 @@ module Aws::SecurityAgent
|
|
|
3467
3498
|
#
|
|
3468
3499
|
# resp.integration_id #=> String
|
|
3469
3500
|
# resp.installation_id #=> String
|
|
3470
|
-
# resp.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE"
|
|
3501
|
+
# resp.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE", "AZURE_DEVOPS"
|
|
3471
3502
|
# resp.provider_type #=> String, one of "SOURCE_CODE", "DOCUMENTATION"
|
|
3472
3503
|
# resp.display_name #=> String
|
|
3473
3504
|
# resp.kms_key_id #=> String
|
|
3474
3505
|
# resp.target_url #=> String
|
|
3506
|
+
# resp.webhook_url #=> String
|
|
3475
3507
|
# resp.private_connection_name #=> String
|
|
3476
3508
|
#
|
|
3477
3509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetIntegration AWS API Documentation
|
|
@@ -3581,8 +3613,22 @@ module Aws::SecurityAgent
|
|
|
3581
3613
|
# authorization.
|
|
3582
3614
|
#
|
|
3583
3615
|
# @option params [required, String] :provider
|
|
3584
|
-
# The provider to initiate registration with.
|
|
3585
|
-
#
|
|
3616
|
+
# The provider to initiate registration with.
|
|
3617
|
+
#
|
|
3618
|
+
# @option params [String] :target_url
|
|
3619
|
+
# The HTTPS URL of a self-managed provider instance. Omit for SaaS
|
|
3620
|
+
# providers.
|
|
3621
|
+
#
|
|
3622
|
+
# @option params [String] :organization_name
|
|
3623
|
+
# The name of the organization to connect.
|
|
3624
|
+
#
|
|
3625
|
+
# @option params [String] :client_id
|
|
3626
|
+
# The client ID of the OAuth application registered on your self-managed
|
|
3627
|
+
# provider instance.
|
|
3628
|
+
#
|
|
3629
|
+
# @option params [String] :client_secret
|
|
3630
|
+
# The client secret of the OAuth application registered on your
|
|
3631
|
+
# self-managed provider instance.
|
|
3586
3632
|
#
|
|
3587
3633
|
# @return [Types::InitiateProviderRegistrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3588
3634
|
#
|
|
@@ -3592,7 +3638,11 @@ module Aws::SecurityAgent
|
|
|
3592
3638
|
# @example Request syntax with placeholder values
|
|
3593
3639
|
#
|
|
3594
3640
|
# resp = client.initiate_provider_registration({
|
|
3595
|
-
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
3641
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
3642
|
+
# target_url: "TargetUrl",
|
|
3643
|
+
# organization_name: "String",
|
|
3644
|
+
# client_id: "ClientId",
|
|
3645
|
+
# client_secret: "ClientSecret",
|
|
3596
3646
|
# })
|
|
3597
3647
|
#
|
|
3598
3648
|
# @example Response structure
|
|
@@ -4174,6 +4224,12 @@ module Aws::SecurityAgent
|
|
|
4174
4224
|
# resp.integrated_resource_summaries[0].resource.confluence_document.page_id #=> String
|
|
4175
4225
|
# resp.integrated_resource_summaries[0].resource.confluence_document.title #=> String
|
|
4176
4226
|
# resp.integrated_resource_summaries[0].resource.confluence_document.space_title #=> String
|
|
4227
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.name #=> String
|
|
4228
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.provider_resource_id #=> String
|
|
4229
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.organization #=> String
|
|
4230
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project #=> String
|
|
4231
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project_id #=> String
|
|
4232
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.access_type #=> String, one of "PRIVATE", "PUBLIC"
|
|
4177
4233
|
# resp.integrated_resource_summaries[0].capabilities.github.leave_comments #=> Boolean
|
|
4178
4234
|
# resp.integrated_resource_summaries[0].capabilities.github.remediate_code #=> Boolean
|
|
4179
4235
|
# resp.integrated_resource_summaries[0].capabilities.gitlab.leave_comments #=> Boolean
|
|
@@ -4183,6 +4239,8 @@ module Aws::SecurityAgent
|
|
|
4183
4239
|
# resp.integrated_resource_summaries[0].capabilities.confluence.fetch_document #=> Boolean
|
|
4184
4240
|
# resp.integrated_resource_summaries[0].capabilities.confluence.create_document #=> Boolean
|
|
4185
4241
|
# resp.integrated_resource_summaries[0].capabilities.confluence.update_document #=> Boolean
|
|
4242
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.leave_comments #=> Boolean
|
|
4243
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.remediate_code #=> Boolean
|
|
4186
4244
|
# resp.next_token #=> String
|
|
4187
4245
|
#
|
|
4188
4246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegratedResources AWS API Documentation
|
|
@@ -4220,7 +4278,7 @@ module Aws::SecurityAgent
|
|
|
4220
4278
|
#
|
|
4221
4279
|
# resp = client.list_integrations({
|
|
4222
4280
|
# filter: {
|
|
4223
|
-
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
4281
|
+
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
4224
4282
|
# provider_type: "SOURCE_CODE", # accepts SOURCE_CODE, DOCUMENTATION
|
|
4225
4283
|
# },
|
|
4226
4284
|
# next_token: "NextToken",
|
|
@@ -4232,10 +4290,11 @@ module Aws::SecurityAgent
|
|
|
4232
4290
|
# resp.integration_summaries #=> Array
|
|
4233
4291
|
# resp.integration_summaries[0].integration_id #=> String
|
|
4234
4292
|
# resp.integration_summaries[0].installation_id #=> String
|
|
4235
|
-
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE"
|
|
4293
|
+
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE", "AZURE_DEVOPS"
|
|
4236
4294
|
# resp.integration_summaries[0].provider_type #=> String, one of "SOURCE_CODE", "DOCUMENTATION"
|
|
4237
4295
|
# resp.integration_summaries[0].display_name #=> String
|
|
4238
4296
|
# resp.integration_summaries[0].target_url #=> String
|
|
4297
|
+
# resp.integration_summaries[0].webhook_url #=> String
|
|
4239
4298
|
# resp.integration_summaries[0].private_connection_name #=> String
|
|
4240
4299
|
# resp.next_token #=> String
|
|
4241
4300
|
#
|
|
@@ -4397,6 +4456,10 @@ module Aws::SecurityAgent
|
|
|
4397
4456
|
# request. For subsequent calls, use the nextToken value returned from
|
|
4398
4457
|
# the previous request.
|
|
4399
4458
|
#
|
|
4459
|
+
# @option params [String] :job_type
|
|
4460
|
+
# Filters the returned pentest jobs to only those of the specified job
|
|
4461
|
+
# type.
|
|
4462
|
+
#
|
|
4400
4463
|
# @return [Types::ListPentestJobsForPentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4401
4464
|
#
|
|
4402
4465
|
# * {Types::ListPentestJobsForPentestOutput#pentest_job_summaries #pentest_job_summaries} => Array<Types::PentestJobSummary>
|
|
@@ -4411,6 +4474,7 @@ module Aws::SecurityAgent
|
|
|
4411
4474
|
# pentest_id: "String", # required
|
|
4412
4475
|
# agent_space_id: "String", # required
|
|
4413
4476
|
# next_token: "NextToken",
|
|
4477
|
+
# job_type: "FULL", # accepts FULL, REVALIDATION, CICD
|
|
4414
4478
|
# })
|
|
4415
4479
|
#
|
|
4416
4480
|
# @example Response structure
|
|
@@ -4422,6 +4486,8 @@ module Aws::SecurityAgent
|
|
|
4422
4486
|
# resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
|
|
4423
4487
|
# resp.pentest_job_summaries[0].created_at #=> Time
|
|
4424
4488
|
# resp.pentest_job_summaries[0].updated_at #=> Time
|
|
4489
|
+
# resp.pentest_job_summaries[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
|
|
4490
|
+
# resp.pentest_job_summaries[0].report_url #=> String
|
|
4425
4491
|
# resp.next_token #=> String
|
|
4426
4492
|
#
|
|
4427
4493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentest AWS API Documentation
|
|
@@ -5013,15 +5079,21 @@ module Aws::SecurityAgent
|
|
|
5013
5079
|
# The unique identifier of the pentest to start a job for.
|
|
5014
5080
|
#
|
|
5015
5081
|
# @option params [String] :job_type
|
|
5016
|
-
# The type of pentest job to start. Valid values are FULL
|
|
5017
|
-
#
|
|
5018
|
-
#
|
|
5082
|
+
# The type of pentest job to start. Valid values are FULL, REVALIDATION,
|
|
5083
|
+
# and CICD. When set to REVALIDATION, the selectedFindingIds parameter
|
|
5084
|
+
# is required. When set to CICD, the scopeChanges parameter defines the
|
|
5085
|
+
# code changes to test.
|
|
5019
5086
|
#
|
|
5020
5087
|
# @option params [Array<String>] :selected_finding_ids
|
|
5021
5088
|
# The list of finding identifiers to revalidate. Required when jobType
|
|
5022
5089
|
# is REVALIDATION. Each finding must belong to the same agent space and
|
|
5023
5090
|
# pentest.
|
|
5024
5091
|
#
|
|
5092
|
+
# @option params [Array<Types::ScopeChange>] :scope_changes
|
|
5093
|
+
# The code changes that define the scope of a CI/CD pentest job. Provide
|
|
5094
|
+
# this when starting a job with jobType CICD to test only the changes in
|
|
5095
|
+
# the current pipeline run.
|
|
5096
|
+
#
|
|
5025
5097
|
# @return [Types::StartPentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5026
5098
|
#
|
|
5027
5099
|
# * {Types::StartPentestJobOutput#title #title} => String
|
|
@@ -5037,8 +5109,17 @@ module Aws::SecurityAgent
|
|
|
5037
5109
|
# resp = client.start_pentest_job({
|
|
5038
5110
|
# agent_space_id: "String", # required
|
|
5039
5111
|
# pentest_id: "String", # required
|
|
5040
|
-
# job_type: "FULL", # accepts FULL, REVALIDATION
|
|
5112
|
+
# job_type: "FULL", # accepts FULL, REVALIDATION, CICD
|
|
5041
5113
|
# selected_finding_ids: ["String"],
|
|
5114
|
+
# scope_changes: [
|
|
5115
|
+
# {
|
|
5116
|
+
# integration_id: "String", # required
|
|
5117
|
+
# provider_resource_id: "String", # required
|
|
5118
|
+
# base_commit_sha: "String",
|
|
5119
|
+
# head_commit_sha: "String", # required
|
|
5120
|
+
# trigger_run_id: "String",
|
|
5121
|
+
# },
|
|
5122
|
+
# ],
|
|
5042
5123
|
# })
|
|
5043
5124
|
#
|
|
5044
5125
|
# @example Response structure
|
|
@@ -5682,6 +5763,11 @@ module Aws::SecurityAgent
|
|
|
5682
5763
|
# title: "String",
|
|
5683
5764
|
# space_title: "String",
|
|
5684
5765
|
# },
|
|
5766
|
+
# azure_dev_ops_repository: {
|
|
5767
|
+
# name: "ProviderResourceName", # required
|
|
5768
|
+
# organization: "AzureDevOpsOrganization", # required
|
|
5769
|
+
# project: "String",
|
|
5770
|
+
# },
|
|
5685
5771
|
# },
|
|
5686
5772
|
# capabilities: {
|
|
5687
5773
|
# github: {
|
|
@@ -5701,6 +5787,10 @@ module Aws::SecurityAgent
|
|
|
5701
5787
|
# create_document: false,
|
|
5702
5788
|
# update_document: false,
|
|
5703
5789
|
# },
|
|
5790
|
+
# azure_dev_ops: {
|
|
5791
|
+
# leave_comments: false,
|
|
5792
|
+
# remediate_code: false,
|
|
5793
|
+
# },
|
|
5704
5794
|
# },
|
|
5705
5795
|
# },
|
|
5706
5796
|
# ],
|
|
@@ -5715,6 +5805,44 @@ module Aws::SecurityAgent
|
|
|
5715
5805
|
req.send_request(options)
|
|
5716
5806
|
end
|
|
5717
5807
|
|
|
5808
|
+
# Creates an integration's webhook, or rotates the HMAC signing secret
|
|
5809
|
+
# of an existing one. The secret is returned only once, in this
|
|
5810
|
+
# response, and cannot be retrieved again.
|
|
5811
|
+
#
|
|
5812
|
+
# @option params [required, String] :integration_id
|
|
5813
|
+
# The ID of the integration whose webhook you want to create or rotate.
|
|
5814
|
+
#
|
|
5815
|
+
# @option params [required, String] :webhook_action
|
|
5816
|
+
# The action to perform on the integration's webhook.
|
|
5817
|
+
#
|
|
5818
|
+
# @return [Types::UpdateIntegrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5819
|
+
#
|
|
5820
|
+
# * {Types::UpdateIntegrationOutput#integration_id #integration_id} => String
|
|
5821
|
+
# * {Types::UpdateIntegrationOutput#webhook_url #webhook_url} => String
|
|
5822
|
+
# * {Types::UpdateIntegrationOutput#secret #secret} => String
|
|
5823
|
+
#
|
|
5824
|
+
# @example Request syntax with placeholder values
|
|
5825
|
+
#
|
|
5826
|
+
# resp = client.update_integration({
|
|
5827
|
+
# integration_id: "IntegrationId", # required
|
|
5828
|
+
# webhook_action: "CREATE_IF_ABSENT", # required, accepts CREATE_IF_ABSENT, ROTATE
|
|
5829
|
+
# })
|
|
5830
|
+
#
|
|
5831
|
+
# @example Response structure
|
|
5832
|
+
#
|
|
5833
|
+
# resp.integration_id #=> String
|
|
5834
|
+
# resp.webhook_url #=> String
|
|
5835
|
+
# resp.secret #=> String
|
|
5836
|
+
#
|
|
5837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegration AWS API Documentation
|
|
5838
|
+
#
|
|
5839
|
+
# @overload update_integration(params = {})
|
|
5840
|
+
# @param [Hash] params ({})
|
|
5841
|
+
def update_integration(params = {}, options = {})
|
|
5842
|
+
req = build_request(:update_integration, params)
|
|
5843
|
+
req.send_request(options)
|
|
5844
|
+
end
|
|
5845
|
+
|
|
5718
5846
|
# Updates an existing pentest configuration.
|
|
5719
5847
|
#
|
|
5720
5848
|
# @option params [required, String] :pentest_id
|
|
@@ -5762,6 +5890,9 @@ module Aws::SecurityAgent
|
|
|
5762
5890
|
# @option params [Types::ReportFilters] :report_filters
|
|
5763
5891
|
# The report-generation filters applied when the report is exported.
|
|
5764
5892
|
#
|
|
5893
|
+
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
5894
|
+
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
5895
|
+
#
|
|
5765
5896
|
# @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5766
5897
|
#
|
|
5767
5898
|
# * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -5775,6 +5906,7 @@ module Aws::SecurityAgent
|
|
|
5775
5906
|
# * {Types::UpdatePentestOutput#agent_space_id #agent_space_id} => String
|
|
5776
5907
|
# * {Types::UpdatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
5777
5908
|
# * {Types::UpdatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
5909
|
+
# * {Types::UpdatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
5778
5910
|
#
|
|
5779
5911
|
# @example Request syntax with placeholder values
|
|
5780
5912
|
#
|
|
@@ -5878,6 +6010,9 @@ module Aws::SecurityAgent
|
|
|
5878
6010
|
# annotation_notes: false,
|
|
5879
6011
|
# compliance_report: false,
|
|
5880
6012
|
# },
|
|
6013
|
+
# cicd_configuration: {
|
|
6014
|
+
# enabled: false,
|
|
6015
|
+
# },
|
|
5881
6016
|
# })
|
|
5882
6017
|
#
|
|
5883
6018
|
# @example Response structure
|
|
@@ -5936,6 +6071,7 @@ module Aws::SecurityAgent
|
|
|
5936
6071
|
# resp.report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
5937
6072
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
5938
6073
|
# resp.report_filters.compliance_report #=> Boolean
|
|
6074
|
+
# resp.cicd_configuration.enabled #=> Boolean
|
|
5939
6075
|
#
|
|
5940
6076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentest AWS API Documentation
|
|
5941
6077
|
#
|
|
@@ -6484,7 +6620,7 @@ module Aws::SecurityAgent
|
|
|
6484
6620
|
tracer: tracer
|
|
6485
6621
|
)
|
|
6486
6622
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6487
|
-
context[:gem_version] = '1.
|
|
6623
|
+
context[:gem_version] = '1.19.0'
|
|
6488
6624
|
Seahorse::Client::Request.new(handlers, context)
|
|
6489
6625
|
end
|
|
6490
6626
|
|