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
|
@@ -47,6 +47,11 @@ module Aws::SecurityAgent
|
|
|
47
47
|
AuthCode = Shapes::StringShape.new(name: 'AuthCode')
|
|
48
48
|
Authentication = Shapes::StructureShape.new(name: 'Authentication')
|
|
49
49
|
AuthenticationProviderType = Shapes::StringShape.new(name: 'AuthenticationProviderType')
|
|
50
|
+
AzureDevOpsIntegrationInput = Shapes::StructureShape.new(name: 'AzureDevOpsIntegrationInput')
|
|
51
|
+
AzureDevOpsOrganization = Shapes::StringShape.new(name: 'AzureDevOpsOrganization')
|
|
52
|
+
AzureDevOpsRepositoryMetadata = Shapes::StructureShape.new(name: 'AzureDevOpsRepositoryMetadata')
|
|
53
|
+
AzureDevOpsRepositoryResource = Shapes::StructureShape.new(name: 'AzureDevOpsRepositoryResource')
|
|
54
|
+
AzureDevOpsResourceCapabilities = Shapes::StructureShape.new(name: 'AzureDevOpsResourceCapabilities')
|
|
50
55
|
BatchCreateSecurityRequirementResult = Shapes::StructureShape.new(name: 'BatchCreateSecurityRequirementResult')
|
|
51
56
|
BatchCreateSecurityRequirementResultList = Shapes::ListShape.new(name: 'BatchCreateSecurityRequirementResultList')
|
|
52
57
|
BatchCreateSecurityRequirementsInput = Shapes::StructureShape.new(name: 'BatchCreateSecurityRequirementsInput')
|
|
@@ -95,6 +100,7 @@ module Aws::SecurityAgent
|
|
|
95
100
|
BatchSecurityRequirementErrors = Shapes::ListShape.new(name: 'BatchSecurityRequirementErrors')
|
|
96
101
|
BatchUpdateSecurityRequirementsInput = Shapes::StructureShape.new(name: 'BatchUpdateSecurityRequirementsInput')
|
|
97
102
|
BatchUpdateSecurityRequirementsOutput = Shapes::StructureShape.new(name: 'BatchUpdateSecurityRequirementsOutput')
|
|
103
|
+
BitbucketDataCenterIntegrationInput = Shapes::StructureShape.new(name: 'BitbucketDataCenterIntegrationInput')
|
|
98
104
|
BitbucketInstallationId = Shapes::StringShape.new(name: 'BitbucketInstallationId')
|
|
99
105
|
BitbucketIntegrationInput = Shapes::StructureShape.new(name: 'BitbucketIntegrationInput')
|
|
100
106
|
BitbucketRepositoryMetadata = Shapes::StructureShape.new(name: 'BitbucketRepositoryMetadata')
|
|
@@ -108,7 +114,10 @@ module Aws::SecurityAgent
|
|
|
108
114
|
Category = Shapes::StructureShape.new(name: 'Category')
|
|
109
115
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
|
110
116
|
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
|
117
|
+
CiCdConfiguration = Shapes::StructureShape.new(name: 'CiCdConfiguration')
|
|
111
118
|
CleanUpStrategy = Shapes::StringShape.new(name: 'CleanUpStrategy')
|
|
119
|
+
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
120
|
+
ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
|
|
112
121
|
CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
|
|
113
122
|
CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
|
|
114
123
|
CodeLocationList = Shapes::ListShape.new(name: 'CodeLocationList')
|
|
@@ -383,6 +392,10 @@ module Aws::SecurityAgent
|
|
|
383
392
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
384
393
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
|
385
394
|
S3BucketArns = Shapes::ListShape.new(name: 'S3BucketArns')
|
|
395
|
+
ScopeChange = Shapes::StructureShape.new(name: 'ScopeChange')
|
|
396
|
+
ScopeChangeList = Shapes::ListShape.new(name: 'ScopeChangeList')
|
|
397
|
+
ScopeDecision = Shapes::StringShape.new(name: 'ScopeDecision')
|
|
398
|
+
ScopeResult = Shapes::StructureShape.new(name: 'ScopeResult')
|
|
386
399
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
387
400
|
SecretArns = Shapes::ListShape.new(name: 'SecretArns')
|
|
388
401
|
SecurityGroupArn = Shapes::StringShape.new(name: 'SecurityGroupArn')
|
|
@@ -501,6 +514,8 @@ module Aws::SecurityAgent
|
|
|
501
514
|
UpdateFindingOutput = Shapes::StructureShape.new(name: 'UpdateFindingOutput')
|
|
502
515
|
UpdateIntegratedResourcesInput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesInput')
|
|
503
516
|
UpdateIntegratedResourcesOutput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesOutput')
|
|
517
|
+
UpdateIntegrationInput = Shapes::StructureShape.new(name: 'UpdateIntegrationInput')
|
|
518
|
+
UpdateIntegrationOutput = Shapes::StructureShape.new(name: 'UpdateIntegrationOutput')
|
|
504
519
|
UpdatePentestInput = Shapes::StructureShape.new(name: 'UpdatePentestInput')
|
|
505
520
|
UpdatePentestOutput = Shapes::StructureShape.new(name: 'UpdatePentestOutput')
|
|
506
521
|
UpdatePrivateConnectionCertificateInput = Shapes::StructureShape.new(name: 'UpdatePrivateConnectionCertificateInput')
|
|
@@ -533,6 +548,8 @@ module Aws::SecurityAgent
|
|
|
533
548
|
VpcArn = Shapes::StringShape.new(name: 'VpcArn')
|
|
534
549
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
|
535
550
|
VpcConfigs = Shapes::ListShape.new(name: 'VpcConfigs')
|
|
551
|
+
WebhookAction = Shapes::StringShape.new(name: 'WebhookAction')
|
|
552
|
+
WebhookSecret = Shapes::StringShape.new(name: 'WebhookSecret')
|
|
536
553
|
|
|
537
554
|
AWSResources.add_member(:vpcs, Shapes::ShapeRef.new(shape: VpcConfigs, location_name: "vpcs"))
|
|
538
555
|
AWSResources.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupArns, location_name: "logGroups"))
|
|
@@ -636,6 +653,28 @@ module Aws::SecurityAgent
|
|
|
636
653
|
Authentication.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
637
654
|
Authentication.struct_class = Types::Authentication
|
|
638
655
|
|
|
656
|
+
AzureDevOpsIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
657
|
+
AzureDevOpsIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
658
|
+
AzureDevOpsIntegrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "organizationName"))
|
|
659
|
+
AzureDevOpsIntegrationInput.struct_class = Types::AzureDevOpsIntegrationInput
|
|
660
|
+
|
|
661
|
+
AzureDevOpsRepositoryMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
662
|
+
AzureDevOpsRepositoryMetadata.add_member(:provider_resource_id, Shapes::ShapeRef.new(shape: ProviderResourceId, required: true, location_name: "providerResourceId"))
|
|
663
|
+
AzureDevOpsRepositoryMetadata.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
664
|
+
AzureDevOpsRepositoryMetadata.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
665
|
+
AzureDevOpsRepositoryMetadata.add_member(:project_id, Shapes::ShapeRef.new(shape: String, location_name: "projectId"))
|
|
666
|
+
AzureDevOpsRepositoryMetadata.add_member(:access_type, Shapes::ShapeRef.new(shape: AccessType, location_name: "accessType"))
|
|
667
|
+
AzureDevOpsRepositoryMetadata.struct_class = Types::AzureDevOpsRepositoryMetadata
|
|
668
|
+
|
|
669
|
+
AzureDevOpsRepositoryResource.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
670
|
+
AzureDevOpsRepositoryResource.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
671
|
+
AzureDevOpsRepositoryResource.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
672
|
+
AzureDevOpsRepositoryResource.struct_class = Types::AzureDevOpsRepositoryResource
|
|
673
|
+
|
|
674
|
+
AzureDevOpsResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
675
|
+
AzureDevOpsResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
676
|
+
AzureDevOpsResourceCapabilities.struct_class = Types::AzureDevOpsResourceCapabilities
|
|
677
|
+
|
|
639
678
|
BatchCreateSecurityRequirementResult.add_member(:pack_id, Shapes::ShapeRef.new(shape: SecurityRequirementPackId, required: true, location_name: "packId"))
|
|
640
679
|
BatchCreateSecurityRequirementResult.add_member(:name, Shapes::ShapeRef.new(shape: SecurityRequirementName, required: true, location_name: "name"))
|
|
641
680
|
BatchCreateSecurityRequirementResult.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
@@ -832,6 +871,11 @@ module Aws::SecurityAgent
|
|
|
832
871
|
BatchUpdateSecurityRequirementsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchSecurityRequirementErrors, required: true, location_name: "errors"))
|
|
833
872
|
BatchUpdateSecurityRequirementsOutput.struct_class = Types::BatchUpdateSecurityRequirementsOutput
|
|
834
873
|
|
|
874
|
+
BitbucketDataCenterIntegrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, required: true, location_name: "targetUrl"))
|
|
875
|
+
BitbucketDataCenterIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
876
|
+
BitbucketDataCenterIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
877
|
+
BitbucketDataCenterIntegrationInput.struct_class = Types::BitbucketDataCenterIntegrationInput
|
|
878
|
+
|
|
835
879
|
BitbucketIntegrationInput.add_member(:installation_id, Shapes::ShapeRef.new(shape: BitbucketInstallationId, required: true, location_name: "installationId"))
|
|
836
880
|
BitbucketIntegrationInput.add_member(:workspace, Shapes::ShapeRef.new(shape: BitbucketWorkspace, required: true, location_name: "workspace"))
|
|
837
881
|
BitbucketIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
@@ -868,6 +912,9 @@ module Aws::SecurityAgent
|
|
|
868
912
|
|
|
869
913
|
CategoryList.member = Shapes::ShapeRef.new(shape: Category)
|
|
870
914
|
|
|
915
|
+
CiCdConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
|
916
|
+
CiCdConfiguration.struct_class = Types::CiCdConfiguration
|
|
917
|
+
|
|
871
918
|
CloudWatchLog.add_member(:log_group, Shapes::ShapeRef.new(shape: String, location_name: "logGroup"))
|
|
872
919
|
CloudWatchLog.add_member(:log_stream, Shapes::ShapeRef.new(shape: String, location_name: "logStream"))
|
|
873
920
|
CloudWatchLog.struct_class = Types::CloudWatchLog
|
|
@@ -1107,6 +1154,7 @@ module Aws::SecurityAgent
|
|
|
1107
1154
|
CreatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1108
1155
|
CreatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1109
1156
|
CreatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1157
|
+
CreatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1110
1158
|
CreatePentestInput.struct_class = Types::CreatePentestInput
|
|
1111
1159
|
|
|
1112
1160
|
CreatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -1120,6 +1168,7 @@ module Aws::SecurityAgent
|
|
|
1120
1168
|
CreatePentestOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
1121
1169
|
CreatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1122
1170
|
CreatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1171
|
+
CreatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1123
1172
|
CreatePentestOutput.struct_class = Types::CreatePentestOutput
|
|
1124
1173
|
|
|
1125
1174
|
CreatePrivateConnectionInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -1464,6 +1513,7 @@ module Aws::SecurityAgent
|
|
|
1464
1513
|
GetIntegrationOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
|
1465
1514
|
GetIntegrationOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1466
1515
|
GetIntegrationOutput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1516
|
+
GetIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1467
1517
|
GetIntegrationOutput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1468
1518
|
GetIntegrationOutput.struct_class = Types::GetIntegrationOutput
|
|
1469
1519
|
|
|
@@ -1548,6 +1598,10 @@ module Aws::SecurityAgent
|
|
|
1548
1598
|
ImportSource.struct_class = Types::ImportSource
|
|
1549
1599
|
|
|
1550
1600
|
InitiateProviderRegistrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
|
|
1601
|
+
InitiateProviderRegistrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1602
|
+
InitiateProviderRegistrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, location_name: "organizationName"))
|
|
1603
|
+
InitiateProviderRegistrationInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
|
|
1604
|
+
InitiateProviderRegistrationInput.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecret, location_name: "clientSecret"))
|
|
1551
1605
|
InitiateProviderRegistrationInput.struct_class = Types::InitiateProviderRegistrationInput
|
|
1552
1606
|
|
|
1553
1607
|
InitiateProviderRegistrationOutput.add_member(:redirect_to, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "redirectTo"))
|
|
@@ -1569,11 +1623,13 @@ module Aws::SecurityAgent
|
|
|
1569
1623
|
IntegratedResource.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryResource, location_name: "gitlabRepository"))
|
|
1570
1624
|
IntegratedResource.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryResource, location_name: "bitbucketRepository"))
|
|
1571
1625
|
IntegratedResource.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentResource, location_name: "confluenceDocument"))
|
|
1626
|
+
IntegratedResource.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryResource, location_name: "azureDevOpsRepository"))
|
|
1572
1627
|
IntegratedResource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1573
1628
|
IntegratedResource.add_member_subclass(:github_repository, Types::IntegratedResource::GithubRepository)
|
|
1574
1629
|
IntegratedResource.add_member_subclass(:gitlab_repository, Types::IntegratedResource::GitlabRepository)
|
|
1575
1630
|
IntegratedResource.add_member_subclass(:bitbucket_repository, Types::IntegratedResource::BitbucketRepository)
|
|
1576
1631
|
IntegratedResource.add_member_subclass(:confluence_document, Types::IntegratedResource::ConfluenceDocument)
|
|
1632
|
+
IntegratedResource.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResource::AzureDevOpsRepository)
|
|
1577
1633
|
IntegratedResource.add_member_subclass(:unknown, Types::IntegratedResource::Unknown)
|
|
1578
1634
|
IntegratedResource.struct_class = Types::IntegratedResource
|
|
1579
1635
|
|
|
@@ -1587,11 +1643,13 @@ module Aws::SecurityAgent
|
|
|
1587
1643
|
IntegratedResourceMetadata.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryMetadata, location_name: "gitlabRepository"))
|
|
1588
1644
|
IntegratedResourceMetadata.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryMetadata, location_name: "bitbucketRepository"))
|
|
1589
1645
|
IntegratedResourceMetadata.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentMetadata, location_name: "confluenceDocument"))
|
|
1646
|
+
IntegratedResourceMetadata.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryMetadata, location_name: "azureDevOpsRepository"))
|
|
1590
1647
|
IntegratedResourceMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1591
1648
|
IntegratedResourceMetadata.add_member_subclass(:github_repository, Types::IntegratedResourceMetadata::GithubRepository)
|
|
1592
1649
|
IntegratedResourceMetadata.add_member_subclass(:gitlab_repository, Types::IntegratedResourceMetadata::GitlabRepository)
|
|
1593
1650
|
IntegratedResourceMetadata.add_member_subclass(:bitbucket_repository, Types::IntegratedResourceMetadata::BitbucketRepository)
|
|
1594
1651
|
IntegratedResourceMetadata.add_member_subclass(:confluence_document, Types::IntegratedResourceMetadata::ConfluenceDocument)
|
|
1652
|
+
IntegratedResourceMetadata.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResourceMetadata::AzureDevOpsRepository)
|
|
1595
1653
|
IntegratedResourceMetadata.add_member_subclass(:unknown, Types::IntegratedResourceMetadata::Unknown)
|
|
1596
1654
|
IntegratedResourceMetadata.struct_class = Types::IntegratedResourceMetadata
|
|
1597
1655
|
|
|
@@ -1616,6 +1674,7 @@ module Aws::SecurityAgent
|
|
|
1616
1674
|
IntegrationSummary.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, required: true, location_name: "providerType"))
|
|
1617
1675
|
IntegrationSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "displayName"))
|
|
1618
1676
|
IntegrationSummary.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1677
|
+
IntegrationSummary.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1619
1678
|
IntegrationSummary.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1620
1679
|
IntegrationSummary.struct_class = Types::IntegrationSummary
|
|
1621
1680
|
|
|
@@ -1767,6 +1826,7 @@ module Aws::SecurityAgent
|
|
|
1767
1826
|
ListPentestJobsForPentestInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
1768
1827
|
ListPentestJobsForPentestInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
1769
1828
|
ListPentestJobsForPentestInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1829
|
+
ListPentestJobsForPentestInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1770
1830
|
ListPentestJobsForPentestInput.struct_class = Types::ListPentestJobsForPentestInput
|
|
1771
1831
|
|
|
1772
1832
|
ListPentestJobsForPentestOutput.add_member(:pentest_job_summaries, Shapes::ShapeRef.new(shape: PentestJobSummaryList, location_name: "pentestJobSummaries"))
|
|
@@ -1923,6 +1983,7 @@ module Aws::SecurityAgent
|
|
|
1923
1983
|
Pentest.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1924
1984
|
Pentest.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1925
1985
|
Pentest.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1986
|
+
Pentest.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1926
1987
|
Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1927
1988
|
Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1928
1989
|
Pentest.struct_class = Types::Pentest
|
|
@@ -1957,6 +2018,10 @@ module Aws::SecurityAgent
|
|
|
1957
2018
|
PentestJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1958
2019
|
PentestJob.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
1959
2020
|
PentestJob.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2021
|
+
PentestJob.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
|
|
2022
|
+
PentestJob.add_member(:scope_result, Shapes::ShapeRef.new(shape: ScopeResult, location_name: "scopeResult"))
|
|
2023
|
+
PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
2024
|
+
PentestJob.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1960
2025
|
PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1961
2026
|
PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1962
2027
|
PentestJob.struct_class = Types::PentestJob
|
|
@@ -1971,6 +2036,8 @@ module Aws::SecurityAgent
|
|
|
1971
2036
|
PentestJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
|
|
1972
2037
|
PentestJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1973
2038
|
PentestJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
2039
|
+
PentestJobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
2040
|
+
PentestJobSummary.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
|
|
1974
2041
|
PentestJobSummary.struct_class = Types::PentestJobSummary
|
|
1975
2042
|
|
|
1976
2043
|
PentestJobSummaryList.member = Shapes::ShapeRef.new(shape: PentestJobSummary)
|
|
@@ -2019,11 +2086,15 @@ module Aws::SecurityAgent
|
|
|
2019
2086
|
ProviderInput.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabIntegrationInput, location_name: "gitlab"))
|
|
2020
2087
|
ProviderInput.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketIntegrationInput, location_name: "bitbucket"))
|
|
2021
2088
|
ProviderInput.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceIntegrationInput, location_name: "confluence"))
|
|
2089
|
+
ProviderInput.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsIntegrationInput, location_name: "azureDevOps"))
|
|
2090
|
+
ProviderInput.add_member(:bitbucket_data_center, Shapes::ShapeRef.new(shape: BitbucketDataCenterIntegrationInput, location_name: "bitbucketDataCenter"))
|
|
2022
2091
|
ProviderInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2023
2092
|
ProviderInput.add_member_subclass(:github, Types::ProviderInput::Github)
|
|
2024
2093
|
ProviderInput.add_member_subclass(:gitlab, Types::ProviderInput::Gitlab)
|
|
2025
2094
|
ProviderInput.add_member_subclass(:bitbucket, Types::ProviderInput::Bitbucket)
|
|
2026
2095
|
ProviderInput.add_member_subclass(:confluence, Types::ProviderInput::Confluence)
|
|
2096
|
+
ProviderInput.add_member_subclass(:azure_dev_ops, Types::ProviderInput::AzureDevOps)
|
|
2097
|
+
ProviderInput.add_member_subclass(:bitbucket_data_center, Types::ProviderInput::BitbucketDataCenter)
|
|
2027
2098
|
ProviderInput.add_member_subclass(:unknown, Types::ProviderInput::Unknown)
|
|
2028
2099
|
ProviderInput.struct_class = Types::ProviderInput
|
|
2029
2100
|
|
|
@@ -2031,11 +2102,13 @@ module Aws::SecurityAgent
|
|
|
2031
2102
|
ProviderResourceCapabilities.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabResourceCapabilities, location_name: "gitlab"))
|
|
2032
2103
|
ProviderResourceCapabilities.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketResourceCapabilities, location_name: "bitbucket"))
|
|
2033
2104
|
ProviderResourceCapabilities.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceResourceCapabilities, location_name: "confluence"))
|
|
2105
|
+
ProviderResourceCapabilities.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsResourceCapabilities, location_name: "azureDevOps"))
|
|
2034
2106
|
ProviderResourceCapabilities.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2035
2107
|
ProviderResourceCapabilities.add_member_subclass(:github, Types::ProviderResourceCapabilities::Github)
|
|
2036
2108
|
ProviderResourceCapabilities.add_member_subclass(:gitlab, Types::ProviderResourceCapabilities::Gitlab)
|
|
2037
2109
|
ProviderResourceCapabilities.add_member_subclass(:bitbucket, Types::ProviderResourceCapabilities::Bitbucket)
|
|
2038
2110
|
ProviderResourceCapabilities.add_member_subclass(:confluence, Types::ProviderResourceCapabilities::Confluence)
|
|
2111
|
+
ProviderResourceCapabilities.add_member_subclass(:azure_dev_ops, Types::ProviderResourceCapabilities::AzureDevOps)
|
|
2039
2112
|
ProviderResourceCapabilities.add_member_subclass(:unknown, Types::ProviderResourceCapabilities::Unknown)
|
|
2040
2113
|
ProviderResourceCapabilities.struct_class = Types::ProviderResourceCapabilities
|
|
2041
2114
|
|
|
@@ -2068,6 +2141,19 @@ module Aws::SecurityAgent
|
|
|
2068
2141
|
|
|
2069
2142
|
S3BucketArns.member = Shapes::ShapeRef.new(shape: S3BucketArn)
|
|
2070
2143
|
|
|
2144
|
+
ScopeChange.add_member(:integration_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "integrationId"))
|
|
2145
|
+
ScopeChange.add_member(:provider_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "providerResourceId"))
|
|
2146
|
+
ScopeChange.add_member(:base_commit_sha, Shapes::ShapeRef.new(shape: String, location_name: "baseCommitSha"))
|
|
2147
|
+
ScopeChange.add_member(:head_commit_sha, Shapes::ShapeRef.new(shape: String, required: true, location_name: "headCommitSha"))
|
|
2148
|
+
ScopeChange.add_member(:trigger_run_id, Shapes::ShapeRef.new(shape: String, location_name: "triggerRunId"))
|
|
2149
|
+
ScopeChange.struct_class = Types::ScopeChange
|
|
2150
|
+
|
|
2151
|
+
ScopeChangeList.member = Shapes::ShapeRef.new(shape: ScopeChange)
|
|
2152
|
+
|
|
2153
|
+
ScopeResult.add_member(:decision, Shapes::ShapeRef.new(shape: ScopeDecision, required: true, location_name: "decision"))
|
|
2154
|
+
ScopeResult.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
|
2155
|
+
ScopeResult.struct_class = Types::ScopeResult
|
|
2156
|
+
|
|
2071
2157
|
SecretArns.member = Shapes::ShapeRef.new(shape: SecretArn)
|
|
2072
2158
|
|
|
2073
2159
|
SecurityGroupArns.member = Shapes::ShapeRef.new(shape: SecurityGroupArn)
|
|
@@ -2153,6 +2239,7 @@ module Aws::SecurityAgent
|
|
|
2153
2239
|
StartPentestJobInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2154
2240
|
StartPentestJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
2155
2241
|
StartPentestJobInput.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
2242
|
+
StartPentestJobInput.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
2156
2243
|
StartPentestJobInput.struct_class = Types::StartPentestJobInput
|
|
2157
2244
|
|
|
2158
2245
|
StartPentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2506,6 +2593,15 @@ module Aws::SecurityAgent
|
|
|
2506
2593
|
|
|
2507
2594
|
UpdateIntegratedResourcesOutput.struct_class = Types::UpdateIntegratedResourcesOutput
|
|
2508
2595
|
|
|
2596
|
+
UpdateIntegrationInput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2597
|
+
UpdateIntegrationInput.add_member(:webhook_action, Shapes::ShapeRef.new(shape: WebhookAction, required: true, location_name: "webhookAction"))
|
|
2598
|
+
UpdateIntegrationInput.struct_class = Types::UpdateIntegrationInput
|
|
2599
|
+
|
|
2600
|
+
UpdateIntegrationOutput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2601
|
+
UpdateIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
2602
|
+
UpdateIntegrationOutput.add_member(:secret, Shapes::ShapeRef.new(shape: WebhookSecret, location_name: "secret"))
|
|
2603
|
+
UpdateIntegrationOutput.struct_class = Types::UpdateIntegrationOutput
|
|
2604
|
+
|
|
2509
2605
|
UpdatePentestInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2510
2606
|
UpdatePentestInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
2511
2607
|
UpdatePentestInput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2520,6 +2616,7 @@ module Aws::SecurityAgent
|
|
|
2520
2616
|
UpdatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
2521
2617
|
UpdatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2522
2618
|
UpdatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2619
|
+
UpdatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2523
2620
|
UpdatePentestInput.struct_class = Types::UpdatePentestInput
|
|
2524
2621
|
|
|
2525
2622
|
UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -2533,6 +2630,7 @@ module Aws::SecurityAgent
|
|
|
2533
2630
|
UpdatePentestOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
2534
2631
|
UpdatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2535
2632
|
UpdatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2633
|
+
UpdatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2536
2634
|
UpdatePentestOutput.struct_class = Types::UpdatePentestOutput
|
|
2537
2635
|
|
|
2538
2636
|
UpdatePrivateConnectionCertificateInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -3693,6 +3791,20 @@ module Aws::SecurityAgent
|
|
|
3693
3791
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3694
3792
|
end)
|
|
3695
3793
|
|
|
3794
|
+
api.add_operation(:update_integration, Seahorse::Model::Operation.new.tap do |o|
|
|
3795
|
+
o.name = "UpdateIntegration"
|
|
3796
|
+
o.http_method = "POST"
|
|
3797
|
+
o.http_request_uri = "/UpdateIntegration"
|
|
3798
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationInput)
|
|
3799
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIntegrationOutput)
|
|
3800
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3801
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3802
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3803
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3804
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3805
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3806
|
+
end)
|
|
3807
|
+
|
|
3696
3808
|
api.add_operation(:update_pentest, Seahorse::Model::Operation.new.tap do |o|
|
|
3697
3809
|
o.name = "UpdatePentest"
|
|
3698
3810
|
o.http_method = "POST"
|