aws-sdk-securityagent 1.22.0 → 1.23.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +152 -10
- data/lib/aws-sdk-securityagent/client_api.rb +138 -0
- data/lib/aws-sdk-securityagent/types.rb +385 -0
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +55 -7
- data/sig/types.rbs +119 -9
- metadata +1 -1
|
@@ -801,6 +801,178 @@ module Aws::SecurityAgent
|
|
|
801
801
|
include Aws::Structure
|
|
802
802
|
end
|
|
803
803
|
|
|
804
|
+
# A finding that failed to disassociate, with the cause of the failure.
|
|
805
|
+
#
|
|
806
|
+
# @!attribute [rw] finding_id
|
|
807
|
+
# The identifier of the finding that failed to disassociate.
|
|
808
|
+
# @return [String]
|
|
809
|
+
#
|
|
810
|
+
# @!attribute [rw] code
|
|
811
|
+
# The machine-readable failure category.
|
|
812
|
+
# @return [String]
|
|
813
|
+
#
|
|
814
|
+
# @!attribute [rw] message
|
|
815
|
+
# A customer-facing explanation of the failure.
|
|
816
|
+
# @return [String]
|
|
817
|
+
#
|
|
818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDisassociateFindingIssueError AWS API Documentation
|
|
819
|
+
#
|
|
820
|
+
class BatchDisassociateFindingIssueError < Struct.new(
|
|
821
|
+
:finding_id,
|
|
822
|
+
:code,
|
|
823
|
+
:message)
|
|
824
|
+
SENSITIVE = []
|
|
825
|
+
include Aws::Structure
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
# The input for the BatchDisassociateFindingIssue operation.
|
|
829
|
+
#
|
|
830
|
+
# @!attribute [rw] agent_space_id
|
|
831
|
+
# The identifier of the agent space where the job exists.
|
|
832
|
+
# @return [String]
|
|
833
|
+
#
|
|
834
|
+
# @!attribute [rw] pentest_job_id
|
|
835
|
+
# The identifier of the penetration test job. This parameter is
|
|
836
|
+
# mutually exclusive with `codeReviewJobId`.
|
|
837
|
+
# @return [String]
|
|
838
|
+
#
|
|
839
|
+
# @!attribute [rw] code_review_job_id
|
|
840
|
+
# The identifier of the code review job. This parameter is mutually
|
|
841
|
+
# exclusive with `pentestJobId`.
|
|
842
|
+
# @return [String]
|
|
843
|
+
#
|
|
844
|
+
# @!attribute [rw] finding_ids
|
|
845
|
+
# The identifiers of the findings to disassociate from their issues.
|
|
846
|
+
# Each must belong to the specified job.
|
|
847
|
+
# @return [Array<String>]
|
|
848
|
+
#
|
|
849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDisassociateFindingIssueInput AWS API Documentation
|
|
850
|
+
#
|
|
851
|
+
class BatchDisassociateFindingIssueInput < Struct.new(
|
|
852
|
+
:agent_space_id,
|
|
853
|
+
:pentest_job_id,
|
|
854
|
+
:code_review_job_id,
|
|
855
|
+
:finding_ids)
|
|
856
|
+
SENSITIVE = []
|
|
857
|
+
include Aws::Structure
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
# The output for the BatchDisassociateFindingIssue operation.
|
|
861
|
+
#
|
|
862
|
+
# @!attribute [rw] errors
|
|
863
|
+
# The findings whose issue could not be disassociated.
|
|
864
|
+
# @return [Array<Types::BatchDisassociateFindingIssueError>]
|
|
865
|
+
#
|
|
866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDisassociateFindingIssueOutput AWS API Documentation
|
|
867
|
+
#
|
|
868
|
+
class BatchDisassociateFindingIssueOutput < Struct.new(
|
|
869
|
+
:errors)
|
|
870
|
+
SENSITIVE = []
|
|
871
|
+
include Aws::Structure
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
# A finding whose issue could not be created, with the cause of the
|
|
875
|
+
# failure.
|
|
876
|
+
#
|
|
877
|
+
# @!attribute [rw] finding_id
|
|
878
|
+
# The identifier of the finding this error corresponds to.
|
|
879
|
+
# @return [String]
|
|
880
|
+
#
|
|
881
|
+
# @!attribute [rw] code
|
|
882
|
+
# The machine-readable failure category.
|
|
883
|
+
# @return [String]
|
|
884
|
+
#
|
|
885
|
+
# @!attribute [rw] message
|
|
886
|
+
# A customer-facing explanation of why the issue could not be created.
|
|
887
|
+
# @return [String]
|
|
888
|
+
#
|
|
889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindingError AWS API Documentation
|
|
890
|
+
#
|
|
891
|
+
class BatchExportFindingError < Struct.new(
|
|
892
|
+
:finding_id,
|
|
893
|
+
:code,
|
|
894
|
+
:message)
|
|
895
|
+
SENSITIVE = []
|
|
896
|
+
include Aws::Structure
|
|
897
|
+
end
|
|
898
|
+
|
|
899
|
+
# A finding whose issue was created.
|
|
900
|
+
#
|
|
901
|
+
# @!attribute [rw] finding_id
|
|
902
|
+
# The identifier of the finding this result corresponds to.
|
|
903
|
+
# @return [String]
|
|
904
|
+
#
|
|
905
|
+
# @!attribute [rw] linked_issue
|
|
906
|
+
# The issue that was created for the finding.
|
|
907
|
+
# @return [Types::LinkedIssue]
|
|
908
|
+
#
|
|
909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindingResult AWS API Documentation
|
|
910
|
+
#
|
|
911
|
+
class BatchExportFindingResult < Struct.new(
|
|
912
|
+
:finding_id,
|
|
913
|
+
:linked_issue)
|
|
914
|
+
SENSITIVE = []
|
|
915
|
+
include Aws::Structure
|
|
916
|
+
end
|
|
917
|
+
|
|
918
|
+
# The input for the BatchExportFindings operation.
|
|
919
|
+
#
|
|
920
|
+
# @!attribute [rw] agent_space_id
|
|
921
|
+
# The identifier of the agent space where the job exists.
|
|
922
|
+
# @return [String]
|
|
923
|
+
#
|
|
924
|
+
# @!attribute [rw] pentest_job_id
|
|
925
|
+
# The identifier of the penetration test job. This parameter is
|
|
926
|
+
# mutually exclusive with `codeReviewJobId`.
|
|
927
|
+
# @return [String]
|
|
928
|
+
#
|
|
929
|
+
# @!attribute [rw] code_review_job_id
|
|
930
|
+
# The identifier of the code review job. This parameter is mutually
|
|
931
|
+
# exclusive with `pentestJobId`.
|
|
932
|
+
# @return [String]
|
|
933
|
+
#
|
|
934
|
+
# @!attribute [rw] issue_destination
|
|
935
|
+
# The destination issue-tracker project the findings are exported to.
|
|
936
|
+
# Must be a connected capability of the agent space.
|
|
937
|
+
# @return [Types::IssueDestination]
|
|
938
|
+
#
|
|
939
|
+
# @!attribute [rw] finding_ids
|
|
940
|
+
# The identifiers of the findings to export. Each must belong to the
|
|
941
|
+
# specified job.
|
|
942
|
+
# @return [Array<String>]
|
|
943
|
+
#
|
|
944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindingsInput AWS API Documentation
|
|
945
|
+
#
|
|
946
|
+
class BatchExportFindingsInput < Struct.new(
|
|
947
|
+
:agent_space_id,
|
|
948
|
+
:pentest_job_id,
|
|
949
|
+
:code_review_job_id,
|
|
950
|
+
:issue_destination,
|
|
951
|
+
:finding_ids)
|
|
952
|
+
SENSITIVE = []
|
|
953
|
+
include Aws::Structure
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# The output for the BatchExportFindings operation.
|
|
957
|
+
#
|
|
958
|
+
# @!attribute [rw] results
|
|
959
|
+
# The findings whose issue was created, each with its linked issue.
|
|
960
|
+
# @return [Array<Types::BatchExportFindingResult>]
|
|
961
|
+
#
|
|
962
|
+
# @!attribute [rw] errors
|
|
963
|
+
# The findings whose issue could not be created, each with a
|
|
964
|
+
# customer-facing reason.
|
|
965
|
+
# @return [Array<Types::BatchExportFindingError>]
|
|
966
|
+
#
|
|
967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindingsOutput AWS API Documentation
|
|
968
|
+
#
|
|
969
|
+
class BatchExportFindingsOutput < Struct.new(
|
|
970
|
+
:results,
|
|
971
|
+
:errors)
|
|
972
|
+
SENSITIVE = []
|
|
973
|
+
include Aws::Structure
|
|
974
|
+
end
|
|
975
|
+
|
|
804
976
|
# Input for batch retrieving agent spaces.
|
|
805
977
|
#
|
|
806
978
|
# @!attribute [rw] agent_space_ids
|
|
@@ -4140,6 +4312,11 @@ module Aws::SecurityAgent
|
|
|
4140
4312
|
# finding was produced from.
|
|
4141
4313
|
# @return [String]
|
|
4142
4314
|
#
|
|
4315
|
+
# @!attribute [rw] linked_issue
|
|
4316
|
+
# The issue in a third-party issue tracker that this finding has been
|
|
4317
|
+
# exported to.
|
|
4318
|
+
# @return [Types::LinkedIssue]
|
|
4319
|
+
#
|
|
4143
4320
|
# @!attribute [rw] created_at
|
|
4144
4321
|
# The date and time the finding was created, in UTC format.
|
|
4145
4322
|
# @return [Time]
|
|
@@ -4177,6 +4354,7 @@ module Aws::SecurityAgent
|
|
|
4177
4354
|
:alignment_rationale,
|
|
4178
4355
|
:revalidation_job_ids,
|
|
4179
4356
|
:original_finding_id,
|
|
4357
|
+
:linked_issue,
|
|
4180
4358
|
:created_at,
|
|
4181
4359
|
:updated_at)
|
|
4182
4360
|
SENSITIVE = []
|
|
@@ -4408,6 +4586,10 @@ module Aws::SecurityAgent
|
|
|
4408
4586
|
# absent for SaaS integrations.
|
|
4409
4587
|
# @return [String]
|
|
4410
4588
|
#
|
|
4589
|
+
# @!attribute [rw] site_url
|
|
4590
|
+
# The Atlassian Cloud site URL for Atlassian integrations.
|
|
4591
|
+
# @return [String]
|
|
4592
|
+
#
|
|
4411
4593
|
# @!attribute [rw] webhook_url
|
|
4412
4594
|
# The payload URL of the integration's webhook, once it has been
|
|
4413
4595
|
# created. The signing secret is never returned on a read.
|
|
@@ -4428,6 +4610,7 @@ module Aws::SecurityAgent
|
|
|
4428
4610
|
:display_name,
|
|
4429
4611
|
:kms_key_id,
|
|
4430
4612
|
:target_url,
|
|
4613
|
+
:site_url,
|
|
4431
4614
|
:webhook_url,
|
|
4432
4615
|
:private_connection_name)
|
|
4433
4616
|
SENSITIVE = []
|
|
@@ -4956,6 +5139,10 @@ module Aws::SecurityAgent
|
|
|
4956
5139
|
# The Azure DevOps repository resource information.
|
|
4957
5140
|
# @return [Types::AzureDevOpsRepositoryResource]
|
|
4958
5141
|
#
|
|
5142
|
+
# @!attribute [rw] jira_project
|
|
5143
|
+
# The Jira project resource information.
|
|
5144
|
+
# @return [Types::JiraProjectResource]
|
|
5145
|
+
#
|
|
4959
5146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResource AWS API Documentation
|
|
4960
5147
|
#
|
|
4961
5148
|
class IntegratedResource < Struct.new(
|
|
@@ -4964,6 +5151,7 @@ module Aws::SecurityAgent
|
|
|
4964
5151
|
:bitbucket_repository,
|
|
4965
5152
|
:confluence_document,
|
|
4966
5153
|
:azure_dev_ops_repository,
|
|
5154
|
+
:jira_project,
|
|
4967
5155
|
:unknown)
|
|
4968
5156
|
SENSITIVE = []
|
|
4969
5157
|
include Aws::Structure
|
|
@@ -4974,6 +5162,7 @@ module Aws::SecurityAgent
|
|
|
4974
5162
|
class BitbucketRepository < IntegratedResource; end
|
|
4975
5163
|
class ConfluenceDocument < IntegratedResource; end
|
|
4976
5164
|
class AzureDevOpsRepository < IntegratedResource; end
|
|
5165
|
+
class JiraProject < IntegratedResource; end
|
|
4977
5166
|
class Unknown < IntegratedResource; end
|
|
4978
5167
|
end
|
|
4979
5168
|
|
|
@@ -5022,6 +5211,10 @@ module Aws::SecurityAgent
|
|
|
5022
5211
|
# The Azure DevOps repository metadata.
|
|
5023
5212
|
# @return [Types::AzureDevOpsRepositoryMetadata]
|
|
5024
5213
|
#
|
|
5214
|
+
# @!attribute [rw] jira_project
|
|
5215
|
+
# The Jira project metadata.
|
|
5216
|
+
# @return [Types::JiraProjectMetadata]
|
|
5217
|
+
#
|
|
5025
5218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceMetadata AWS API Documentation
|
|
5026
5219
|
#
|
|
5027
5220
|
class IntegratedResourceMetadata < Struct.new(
|
|
@@ -5030,6 +5223,7 @@ module Aws::SecurityAgent
|
|
|
5030
5223
|
:bitbucket_repository,
|
|
5031
5224
|
:confluence_document,
|
|
5032
5225
|
:azure_dev_ops_repository,
|
|
5226
|
+
:jira_project,
|
|
5033
5227
|
:unknown)
|
|
5034
5228
|
SENSITIVE = []
|
|
5035
5229
|
include Aws::Structure
|
|
@@ -5040,6 +5234,7 @@ module Aws::SecurityAgent
|
|
|
5040
5234
|
class BitbucketRepository < IntegratedResourceMetadata; end
|
|
5041
5235
|
class ConfluenceDocument < IntegratedResourceMetadata; end
|
|
5042
5236
|
class AzureDevOpsRepository < IntegratedResourceMetadata; end
|
|
5237
|
+
class JiraProject < IntegratedResourceMetadata; end
|
|
5043
5238
|
class Unknown < IntegratedResourceMetadata; end
|
|
5044
5239
|
end
|
|
5045
5240
|
|
|
@@ -5163,6 +5358,184 @@ module Aws::SecurityAgent
|
|
|
5163
5358
|
include Aws::Structure
|
|
5164
5359
|
end
|
|
5165
5360
|
|
|
5361
|
+
# The destination for filing findings as issues in an integrated issue
|
|
5362
|
+
# tracker.
|
|
5363
|
+
#
|
|
5364
|
+
# @!attribute [rw] integration_id
|
|
5365
|
+
# The integration identifier for the issue-tracker provider.
|
|
5366
|
+
# @return [String]
|
|
5367
|
+
#
|
|
5368
|
+
# @!attribute [rw] project_key
|
|
5369
|
+
# The identifier of the project the issues are filed under.
|
|
5370
|
+
# @return [String]
|
|
5371
|
+
#
|
|
5372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IssueDestination AWS API Documentation
|
|
5373
|
+
#
|
|
5374
|
+
class IssueDestination < Struct.new(
|
|
5375
|
+
:integration_id,
|
|
5376
|
+
:project_key)
|
|
5377
|
+
SENSITIVE = []
|
|
5378
|
+
include Aws::Structure
|
|
5379
|
+
end
|
|
5380
|
+
|
|
5381
|
+
# The configuration for creating a Jira integration.
|
|
5382
|
+
#
|
|
5383
|
+
# @!attribute [rw] installation_id
|
|
5384
|
+
# The Atlassian installation identifier, available from the Atlassian
|
|
5385
|
+
# administration console.
|
|
5386
|
+
# @return [String]
|
|
5387
|
+
#
|
|
5388
|
+
# @!attribute [rw] code
|
|
5389
|
+
# The OAuth 2.0 authorization code returned from the consent redirect.
|
|
5390
|
+
# @return [String]
|
|
5391
|
+
#
|
|
5392
|
+
# @!attribute [rw] state
|
|
5393
|
+
# The CSRF state token echoed back from the OAuth redirect.
|
|
5394
|
+
# @return [String]
|
|
5395
|
+
#
|
|
5396
|
+
# @!attribute [rw] site_url
|
|
5397
|
+
# The Jira Cloud site URL, for example https://mysite.atlassian.net.
|
|
5398
|
+
# @return [String]
|
|
5399
|
+
#
|
|
5400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/JiraIntegrationInput AWS API Documentation
|
|
5401
|
+
#
|
|
5402
|
+
class JiraIntegrationInput < Struct.new(
|
|
5403
|
+
:installation_id,
|
|
5404
|
+
:code,
|
|
5405
|
+
:state,
|
|
5406
|
+
:site_url)
|
|
5407
|
+
SENSITIVE = []
|
|
5408
|
+
include Aws::Structure
|
|
5409
|
+
end
|
|
5410
|
+
|
|
5411
|
+
# Contains metadata about a Jira project that is integrated with the
|
|
5412
|
+
# service.
|
|
5413
|
+
#
|
|
5414
|
+
# @!attribute [rw] name
|
|
5415
|
+
# Name of the resource e.g. repository name, etc.
|
|
5416
|
+
# @return [String]
|
|
5417
|
+
#
|
|
5418
|
+
# @!attribute [rw] provider_resource_id
|
|
5419
|
+
# Provider Id of the resource e.g. GitHub repository id, etc.
|
|
5420
|
+
# @return [String]
|
|
5421
|
+
#
|
|
5422
|
+
# @!attribute [rw] project_key
|
|
5423
|
+
# The Jira project key, for example PROJ.
|
|
5424
|
+
# @return [String]
|
|
5425
|
+
#
|
|
5426
|
+
# @!attribute [rw] project_id
|
|
5427
|
+
# The Jira project identifier.
|
|
5428
|
+
# @return [String]
|
|
5429
|
+
#
|
|
5430
|
+
# @!attribute [rw] project_name
|
|
5431
|
+
# The display name of the Jira project.
|
|
5432
|
+
# @return [String]
|
|
5433
|
+
#
|
|
5434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/JiraProjectMetadata AWS API Documentation
|
|
5435
|
+
#
|
|
5436
|
+
class JiraProjectMetadata < Struct.new(
|
|
5437
|
+
:name,
|
|
5438
|
+
:provider_resource_id,
|
|
5439
|
+
:project_key,
|
|
5440
|
+
:project_id,
|
|
5441
|
+
:project_name)
|
|
5442
|
+
SENSITIVE = []
|
|
5443
|
+
include Aws::Structure
|
|
5444
|
+
end
|
|
5445
|
+
|
|
5446
|
+
# Represents a Jira project resource used in an integration.
|
|
5447
|
+
#
|
|
5448
|
+
# @!attribute [rw] name
|
|
5449
|
+
# Name of the resource e.g. repository name, etc.
|
|
5450
|
+
# @return [String]
|
|
5451
|
+
#
|
|
5452
|
+
# @!attribute [rw] project_key
|
|
5453
|
+
# The Jira project key, for example PROJ.
|
|
5454
|
+
# @return [String]
|
|
5455
|
+
#
|
|
5456
|
+
# @!attribute [rw] project_id
|
|
5457
|
+
# The Jira project identifier.
|
|
5458
|
+
# @return [String]
|
|
5459
|
+
#
|
|
5460
|
+
# @!attribute [rw] project_name
|
|
5461
|
+
# The display name of the Jira project.
|
|
5462
|
+
# @return [String]
|
|
5463
|
+
#
|
|
5464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/JiraProjectResource AWS API Documentation
|
|
5465
|
+
#
|
|
5466
|
+
class JiraProjectResource < Struct.new(
|
|
5467
|
+
:name,
|
|
5468
|
+
:project_key,
|
|
5469
|
+
:project_id,
|
|
5470
|
+
:project_name)
|
|
5471
|
+
SENSITIVE = []
|
|
5472
|
+
include Aws::Structure
|
|
5473
|
+
end
|
|
5474
|
+
|
|
5475
|
+
# Capabilities for an integrated Jira project.
|
|
5476
|
+
#
|
|
5477
|
+
# @!attribute [rw] create_issue
|
|
5478
|
+
# Whether to create issues in the integrated jira project.
|
|
5479
|
+
# @return [Boolean]
|
|
5480
|
+
#
|
|
5481
|
+
# @!attribute [rw] comment_issue
|
|
5482
|
+
# Whether to post comments on issues in the integrated jira project.
|
|
5483
|
+
# @return [Boolean]
|
|
5484
|
+
#
|
|
5485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/JiraResourceCapabilities AWS API Documentation
|
|
5486
|
+
#
|
|
5487
|
+
class JiraResourceCapabilities < Struct.new(
|
|
5488
|
+
:create_issue,
|
|
5489
|
+
:comment_issue)
|
|
5490
|
+
SENSITIVE = []
|
|
5491
|
+
include Aws::Structure
|
|
5492
|
+
end
|
|
5493
|
+
|
|
5494
|
+
# A reference to an issue created for a finding in a third-party issue
|
|
5495
|
+
# tracker.
|
|
5496
|
+
#
|
|
5497
|
+
# @!attribute [rw] provider
|
|
5498
|
+
# The issue-tracker provider.
|
|
5499
|
+
# @return [String]
|
|
5500
|
+
#
|
|
5501
|
+
# @!attribute [rw] integration_id
|
|
5502
|
+
# The integration identifier for the issue-tracker provider.
|
|
5503
|
+
# @return [String]
|
|
5504
|
+
#
|
|
5505
|
+
# @!attribute [rw] project_key
|
|
5506
|
+
# The key of the project the issue belongs to.
|
|
5507
|
+
# @return [String]
|
|
5508
|
+
#
|
|
5509
|
+
# @!attribute [rw] issue_key
|
|
5510
|
+
# The issue key.
|
|
5511
|
+
# @return [String]
|
|
5512
|
+
#
|
|
5513
|
+
# @!attribute [rw] issue_id
|
|
5514
|
+
# The stable numeric issue identifier.
|
|
5515
|
+
# @return [String]
|
|
5516
|
+
#
|
|
5517
|
+
# @!attribute [rw] issue_url
|
|
5518
|
+
# The issue URL.
|
|
5519
|
+
# @return [String]
|
|
5520
|
+
#
|
|
5521
|
+
# @!attribute [rw] site_url
|
|
5522
|
+
# The Atlassian Cloud site URL.
|
|
5523
|
+
# @return [String]
|
|
5524
|
+
#
|
|
5525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/LinkedIssue AWS API Documentation
|
|
5526
|
+
#
|
|
5527
|
+
class LinkedIssue < Struct.new(
|
|
5528
|
+
:provider,
|
|
5529
|
+
:integration_id,
|
|
5530
|
+
:project_key,
|
|
5531
|
+
:issue_key,
|
|
5532
|
+
:issue_id,
|
|
5533
|
+
:issue_url,
|
|
5534
|
+
:site_url)
|
|
5535
|
+
SENSITIVE = []
|
|
5536
|
+
include Aws::Structure
|
|
5537
|
+
end
|
|
5538
|
+
|
|
5166
5539
|
# @!attribute [rw] max_results
|
|
5167
5540
|
# The maximum number of results to return in a single call.
|
|
5168
5541
|
# @return [Integer]
|
|
@@ -7094,6 +7467,10 @@ module Aws::SecurityAgent
|
|
|
7094
7467
|
# integration.
|
|
7095
7468
|
# @return [Types::BitbucketDataCenterIntegrationInput]
|
|
7096
7469
|
#
|
|
7470
|
+
# @!attribute [rw] jira
|
|
7471
|
+
# The configuration for a Jira integration.
|
|
7472
|
+
# @return [Types::JiraIntegrationInput]
|
|
7473
|
+
#
|
|
7097
7474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderInput AWS API Documentation
|
|
7098
7475
|
#
|
|
7099
7476
|
class ProviderInput < Struct.new(
|
|
@@ -7103,6 +7480,7 @@ module Aws::SecurityAgent
|
|
|
7103
7480
|
:confluence,
|
|
7104
7481
|
:azure_dev_ops,
|
|
7105
7482
|
:bitbucket_data_center,
|
|
7483
|
+
:jira,
|
|
7106
7484
|
:unknown)
|
|
7107
7485
|
SENSITIVE = []
|
|
7108
7486
|
include Aws::Structure
|
|
@@ -7114,6 +7492,7 @@ module Aws::SecurityAgent
|
|
|
7114
7492
|
class Confluence < ProviderInput; end
|
|
7115
7493
|
class AzureDevOps < ProviderInput; end
|
|
7116
7494
|
class BitbucketDataCenter < ProviderInput; end
|
|
7495
|
+
class Jira < ProviderInput; end
|
|
7117
7496
|
class Unknown < ProviderInput; end
|
|
7118
7497
|
end
|
|
7119
7498
|
|
|
@@ -7145,6 +7524,10 @@ module Aws::SecurityAgent
|
|
|
7145
7524
|
# The Azure DevOps-specific resource capabilities.
|
|
7146
7525
|
# @return [Types::AzureDevOpsResourceCapabilities]
|
|
7147
7526
|
#
|
|
7527
|
+
# @!attribute [rw] jira
|
|
7528
|
+
# The Jira-specific resource capabilities.
|
|
7529
|
+
# @return [Types::JiraResourceCapabilities]
|
|
7530
|
+
#
|
|
7148
7531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderResourceCapabilities AWS API Documentation
|
|
7149
7532
|
#
|
|
7150
7533
|
class ProviderResourceCapabilities < Struct.new(
|
|
@@ -7153,6 +7536,7 @@ module Aws::SecurityAgent
|
|
|
7153
7536
|
:bitbucket,
|
|
7154
7537
|
:confluence,
|
|
7155
7538
|
:azure_dev_ops,
|
|
7539
|
+
:jira,
|
|
7156
7540
|
:unknown)
|
|
7157
7541
|
SENSITIVE = []
|
|
7158
7542
|
include Aws::Structure
|
|
@@ -7163,6 +7547,7 @@ module Aws::SecurityAgent
|
|
|
7163
7547
|
class Bitbucket < ProviderResourceCapabilities; end
|
|
7164
7548
|
class Confluence < ProviderResourceCapabilities; end
|
|
7165
7549
|
class AzureDevOps < ProviderResourceCapabilities; end
|
|
7550
|
+
class Jira < ProviderResourceCapabilities; end
|
|
7166
7551
|
class Unknown < ProviderResourceCapabilities; end
|
|
7167
7552
|
end
|
|
7168
7553
|
|
data/sig/client.rbs
CHANGED
|
@@ -159,6 +159,37 @@ module Aws
|
|
|
159
159
|
) -> _BatchDeleteThreatModelsResponseSuccess
|
|
160
160
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteThreatModelsResponseSuccess
|
|
161
161
|
|
|
162
|
+
interface _BatchDisassociateFindingIssueResponseSuccess
|
|
163
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateFindingIssueOutput]
|
|
164
|
+
def errors: () -> ::Array[Types::BatchDisassociateFindingIssueError]
|
|
165
|
+
end
|
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_disassociate_finding_issue-instance_method
|
|
167
|
+
def batch_disassociate_finding_issue: (
|
|
168
|
+
agent_space_id: ::String,
|
|
169
|
+
?pentest_job_id: ::String,
|
|
170
|
+
?code_review_job_id: ::String,
|
|
171
|
+
finding_ids: Array[::String]
|
|
172
|
+
) -> _BatchDisassociateFindingIssueResponseSuccess
|
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateFindingIssueResponseSuccess
|
|
174
|
+
|
|
175
|
+
interface _BatchExportFindingsResponseSuccess
|
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchExportFindingsOutput]
|
|
177
|
+
def results: () -> ::Array[Types::BatchExportFindingResult]
|
|
178
|
+
def errors: () -> ::Array[Types::BatchExportFindingError]
|
|
179
|
+
end
|
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_export_findings-instance_method
|
|
181
|
+
def batch_export_findings: (
|
|
182
|
+
agent_space_id: ::String,
|
|
183
|
+
?pentest_job_id: ::String,
|
|
184
|
+
?code_review_job_id: ::String,
|
|
185
|
+
issue_destination: {
|
|
186
|
+
integration_id: ::String,
|
|
187
|
+
project_key: ::String
|
|
188
|
+
},
|
|
189
|
+
finding_ids: Array[::String]
|
|
190
|
+
) -> _BatchExportFindingsResponseSuccess
|
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchExportFindingsResponseSuccess
|
|
192
|
+
|
|
162
193
|
interface _BatchGetAgentSpacesResponseSuccess
|
|
163
194
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetAgentSpacesOutput]
|
|
164
195
|
def agent_spaces: () -> ::Array[Types::AgentSpace]
|
|
@@ -441,7 +472,7 @@ module Aws
|
|
|
441
472
|
end
|
|
442
473
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
|
|
443
474
|
def create_integration: (
|
|
444
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
475
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS" | "JIRA"),
|
|
445
476
|
input: {
|
|
446
477
|
github: {
|
|
447
478
|
code: ::String,
|
|
@@ -477,6 +508,12 @@ module Aws
|
|
|
477
508
|
target_url: ::String,
|
|
478
509
|
code: ::String,
|
|
479
510
|
state: ::String
|
|
511
|
+
}?,
|
|
512
|
+
jira: {
|
|
513
|
+
installation_id: ::String,
|
|
514
|
+
code: ::String,
|
|
515
|
+
state: ::String,
|
|
516
|
+
site_url: ::String
|
|
480
517
|
}?
|
|
481
518
|
},
|
|
482
519
|
integration_display_name: ::String,
|
|
@@ -858,11 +895,12 @@ module Aws
|
|
|
858
895
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
859
896
|
def integration_id: () -> ::String
|
|
860
897
|
def installation_id: () -> ::String
|
|
861
|
-
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
862
|
-
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
|
|
898
|
+
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS" | "JIRA")
|
|
899
|
+
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION" | "ISSUE_TRACKING")
|
|
863
900
|
def display_name: () -> ::String
|
|
864
901
|
def kms_key_id: () -> ::String
|
|
865
902
|
def target_url: () -> ::String
|
|
903
|
+
def site_url: () -> ::String
|
|
866
904
|
def webhook_url: () -> ::String
|
|
867
905
|
def private_connection_name: () -> ::String
|
|
868
906
|
end
|
|
@@ -918,7 +956,7 @@ module Aws
|
|
|
918
956
|
end
|
|
919
957
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
|
|
920
958
|
def initiate_provider_registration: (
|
|
921
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
959
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS" | "JIRA"),
|
|
922
960
|
?target_url: ::String,
|
|
923
961
|
?organization_name: ::String,
|
|
924
962
|
?client_id: ::String,
|
|
@@ -1065,7 +1103,7 @@ module Aws
|
|
|
1065
1103
|
def list_integrated_resources: (
|
|
1066
1104
|
agent_space_id: ::String,
|
|
1067
1105
|
?integration_id: ::String,
|
|
1068
|
-
?resource_type: ("CODE_REPOSITORY" | "DOCUMENT"),
|
|
1106
|
+
?resource_type: ("CODE_REPOSITORY" | "DOCUMENT" | "PROJECT"),
|
|
1069
1107
|
?next_token: ::String,
|
|
1070
1108
|
?max_results: ::Integer
|
|
1071
1109
|
) -> _ListIntegratedResourcesResponseSuccess
|
|
@@ -1079,8 +1117,8 @@ module Aws
|
|
|
1079
1117
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
|
|
1080
1118
|
def list_integrations: (
|
|
1081
1119
|
?filter: {
|
|
1082
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")?,
|
|
1083
|
-
provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
|
|
1120
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS" | "JIRA")?,
|
|
1121
|
+
provider_type: ("SOURCE_CODE" | "DOCUMENTATION" | "ISSUE_TRACKING")?
|
|
1084
1122
|
},
|
|
1085
1123
|
?next_token: ::String,
|
|
1086
1124
|
?max_results: ::Integer
|
|
@@ -1520,6 +1558,12 @@ module Aws
|
|
|
1520
1558
|
name: ::String,
|
|
1521
1559
|
organization: ::String,
|
|
1522
1560
|
project: ::String?
|
|
1561
|
+
}?,
|
|
1562
|
+
jira_project: {
|
|
1563
|
+
name: ::String,
|
|
1564
|
+
project_key: ::String,
|
|
1565
|
+
project_id: ::String,
|
|
1566
|
+
project_name: ::String?
|
|
1523
1567
|
}?
|
|
1524
1568
|
},
|
|
1525
1569
|
capabilities: {
|
|
@@ -1555,6 +1599,10 @@ module Aws
|
|
|
1555
1599
|
]?,
|
|
1556
1600
|
leave_comments: bool?,
|
|
1557
1601
|
remediate_code: bool?
|
|
1602
|
+
}?,
|
|
1603
|
+
jira: {
|
|
1604
|
+
create_issue: bool?,
|
|
1605
|
+
comment_issue: bool?
|
|
1558
1606
|
}?
|
|
1559
1607
|
}?
|
|
1560
1608
|
}
|