aws-sdk-securityagent 1.1.0 → 1.3.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.
@@ -55,7 +55,7 @@ module Aws::SecurityAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-securityagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-securityagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.1.0'
58
+ GEM_VERSION = '1.3.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -91,6 +91,18 @@ module Aws
91
91
  ) -> _AddArtifactResponseSuccess
92
92
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddArtifactResponseSuccess
93
93
 
94
+ interface _BatchDeleteCodeReviewsResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteCodeReviewsOutput]
96
+ def deleted: () -> ::Array[::String]
97
+ def failed: () -> ::Array[Types::DeleteCodeReviewFailure]
98
+ end
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_delete_code_reviews-instance_method
100
+ def batch_delete_code_reviews: (
101
+ code_review_ids: Array[::String],
102
+ agent_space_id: ::String
103
+ ) -> _BatchDeleteCodeReviewsResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteCodeReviewsResponseSuccess
105
+
94
106
  interface _BatchDeletePentestsResponseSuccess
95
107
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeletePentestsOutput]
96
108
  def deleted: () -> ::Array[Types::Pentest]
@@ -125,6 +137,42 @@ module Aws
125
137
  ) -> _BatchGetArtifactMetadataResponseSuccess
126
138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetArtifactMetadataResponseSuccess
127
139
 
140
+ interface _BatchGetCodeReviewJobTasksResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCodeReviewJobTasksOutput]
142
+ def code_review_job_tasks: () -> ::Array[Types::CodeReviewJobTask]
143
+ def not_found: () -> ::Array[::String]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_code_review_job_tasks-instance_method
146
+ def batch_get_code_review_job_tasks: (
147
+ agent_space_id: ::String,
148
+ code_review_job_task_ids: Array[::String]
149
+ ) -> _BatchGetCodeReviewJobTasksResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCodeReviewJobTasksResponseSuccess
151
+
152
+ interface _BatchGetCodeReviewJobsResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCodeReviewJobsOutput]
154
+ def code_review_jobs: () -> ::Array[Types::CodeReviewJob]
155
+ def not_found: () -> ::Array[::String]
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_code_review_jobs-instance_method
158
+ def batch_get_code_review_jobs: (
159
+ code_review_job_ids: Array[::String],
160
+ agent_space_id: ::String
161
+ ) -> _BatchGetCodeReviewJobsResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCodeReviewJobsResponseSuccess
163
+
164
+ interface _BatchGetCodeReviewsResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCodeReviewsOutput]
166
+ def code_reviews: () -> ::Array[Types::CodeReview]
167
+ def not_found: () -> ::Array[::String]
168
+ end
169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_code_reviews-instance_method
170
+ def batch_get_code_reviews: (
171
+ code_review_ids: Array[::String],
172
+ agent_space_id: ::String
173
+ ) -> _BatchGetCodeReviewsResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCodeReviewsResponseSuccess
175
+
128
176
  interface _BatchGetFindingsResponseSuccess
129
177
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFindingsOutput]
130
178
  def findings: () -> ::Array[Types::Finding]
@@ -200,20 +248,7 @@ module Aws
200
248
  def create_agent_space: (
201
249
  name: ::String,
202
250
  ?description: ::String,
203
- ?aws_resources: {
204
- vpcs: Array[
205
- {
206
- vpc_arn: ::String?,
207
- security_group_arns: Array[::String]?,
208
- subnet_arns: Array[::String]?
209
- },
210
- ]?,
211
- log_groups: Array[::String]?,
212
- s3_buckets: Array[::String]?,
213
- secret_arns: Array[::String]?,
214
- lambda_function_arns: Array[::String]?,
215
- iam_roles: Array[::String]?
216
- },
251
+ ?aws_resources: Params::aws_resources,
217
252
  ?target_domain_ids: Array[::String],
218
253
  ?code_review_settings: {
219
254
  controls_scanning: bool,
@@ -237,6 +272,32 @@ module Aws
237
272
  ) -> _CreateApplicationResponseSuccess
238
273
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
239
274
 
275
+ interface _CreateCodeReviewResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeReviewOutput]
277
+ def code_review_id: () -> ::String
278
+ def title: () -> ::String
279
+ def created_at: () -> ::Time
280
+ def updated_at: () -> ::Time
281
+ def assets: () -> Types::Assets
282
+ def service_role: () -> ::String
283
+ def log_config: () -> Types::CloudWatchLog
284
+ def agent_space_id: () -> ::String
285
+ def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
286
+ end
287
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_code_review-instance_method
288
+ def create_code_review: (
289
+ title: ::String,
290
+ agent_space_id: ::String,
291
+ assets: Params::assets,
292
+ ?service_role: ::String,
293
+ ?log_config: {
294
+ log_group: ::String?,
295
+ log_stream: ::String?
296
+ },
297
+ ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
298
+ ) -> _CreateCodeReviewResponseSuccess
299
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeReviewResponseSuccess
300
+
240
301
  interface _CreateIntegrationResponseSuccess
241
302
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntegrationOutput]
242
303
  def integration_id: () -> ::String
@@ -290,41 +351,7 @@ module Aws
290
351
  def create_pentest: (
291
352
  title: ::String,
292
353
  agent_space_id: ::String,
293
- ?assets: {
294
- endpoints: Array[
295
- {
296
- uri: ::String?
297
- },
298
- ]?,
299
- actors: Array[
300
- {
301
- identifier: ::String?,
302
- uris: Array[::String]?,
303
- authentication: {
304
- provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
305
- value: ::String?
306
- }?,
307
- description: ::String?
308
- },
309
- ]?,
310
- documents: Array[
311
- {
312
- s3_location: ::String?,
313
- artifact_id: ::String?
314
- },
315
- ]?,
316
- source_code: Array[
317
- {
318
- s3_location: ::String?
319
- },
320
- ]?,
321
- integrated_repositories: Array[
322
- {
323
- integration_id: ::String,
324
- provider_resource_id: ::String
325
- },
326
- ]?
327
- },
354
+ ?assets: Params::assets,
328
355
  ?exclude_risk_types: Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")],
329
356
  ?service_role: ::String,
330
357
  ?log_config: {
@@ -336,21 +363,7 @@ module Aws
336
363
  security_group_arns: Array[::String]?,
337
364
  subnet_arns: Array[::String]?
338
365
  },
339
- ?network_traffic_config: {
340
- rules: Array[
341
- {
342
- effect: ("ALLOW" | "DENY")?,
343
- pattern: ::String?,
344
- network_traffic_rule_type: ("URL")?
345
- },
346
- ]?,
347
- custom_headers: Array[
348
- {
349
- name: ::String?,
350
- value: ::String?
351
- },
352
- ]?
353
- },
366
+ ?network_traffic_config: Params::network_traffic_config,
354
367
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
355
368
  ) -> _CreatePentestResponseSuccess
356
369
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
@@ -523,6 +536,49 @@ module Aws
523
536
  ) -> _ListArtifactsResponseSuccess
524
537
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArtifactsResponseSuccess
525
538
 
539
+ interface _ListCodeReviewJobTasksResponseSuccess
540
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeReviewJobTasksOutput]
541
+ def code_review_job_task_summaries: () -> ::Array[Types::CodeReviewJobTaskSummary]
542
+ def next_token: () -> ::String
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_code_review_job_tasks-instance_method
545
+ def list_code_review_job_tasks: (
546
+ agent_space_id: ::String,
547
+ ?max_results: ::Integer,
548
+ ?code_review_job_id: ::String,
549
+ ?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING"),
550
+ ?category_name: ::String,
551
+ ?next_token: ::String
552
+ ) -> _ListCodeReviewJobTasksResponseSuccess
553
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeReviewJobTasksResponseSuccess
554
+
555
+ interface _ListCodeReviewJobsForCodeReviewResponseSuccess
556
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeReviewJobsForCodeReviewOutput]
557
+ def code_review_job_summaries: () -> ::Array[Types::CodeReviewJobSummary]
558
+ def next_token: () -> ::String
559
+ end
560
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_code_review_jobs_for_code_review-instance_method
561
+ def list_code_review_jobs_for_code_review: (
562
+ ?max_results: ::Integer,
563
+ code_review_id: ::String,
564
+ agent_space_id: ::String,
565
+ ?next_token: ::String
566
+ ) -> _ListCodeReviewJobsForCodeReviewResponseSuccess
567
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeReviewJobsForCodeReviewResponseSuccess
568
+
569
+ interface _ListCodeReviewsResponseSuccess
570
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCodeReviewsOutput]
571
+ def code_review_summaries: () -> ::Array[Types::CodeReviewSummary]
572
+ def next_token: () -> ::String
573
+ end
574
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_code_reviews-instance_method
575
+ def list_code_reviews: (
576
+ ?max_results: ::Integer,
577
+ ?next_token: ::String,
578
+ agent_space_id: ::String
579
+ ) -> _ListCodeReviewsResponseSuccess
580
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeReviewsResponseSuccess
581
+
526
582
  interface _ListDiscoveredEndpointsResponseSuccess
527
583
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoveredEndpointsOutput]
528
584
  def discovered_endpoints: () -> ::Array[Types::DiscoveredEndpoint]
@@ -546,7 +602,8 @@ module Aws
546
602
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_findings-instance_method
547
603
  def list_findings: (
548
604
  ?max_results: ::Integer,
549
- pentest_job_id: ::String,
605
+ ?pentest_job_id: ::String,
606
+ ?code_review_job_id: ::String,
550
607
  agent_space_id: ::String,
551
608
  ?next_token: ::String,
552
609
  ?risk_type: ::String,
@@ -674,11 +731,29 @@ module Aws
674
731
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_code_remediation-instance_method
675
732
  def start_code_remediation: (
676
733
  agent_space_id: ::String,
677
- pentest_job_id: ::String,
734
+ ?pentest_job_id: ::String,
735
+ ?code_review_job_id: ::String,
678
736
  finding_ids: Array[::String]
679
737
  ) -> _StartCodeRemediationResponseSuccess
680
738
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeRemediationResponseSuccess
681
739
 
740
+ interface _StartCodeReviewJobResponseSuccess
741
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeReviewJobOutput]
742
+ def title: () -> ::String
743
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
744
+ def created_at: () -> ::Time
745
+ def updated_at: () -> ::Time
746
+ def code_review_id: () -> ::String
747
+ def code_review_job_id: () -> ::String
748
+ def agent_space_id: () -> ::String
749
+ end
750
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_code_review_job-instance_method
751
+ def start_code_review_job: (
752
+ agent_space_id: ::String,
753
+ code_review_id: ::String
754
+ ) -> _StartCodeReviewJobResponseSuccess
755
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeReviewJobResponseSuccess
756
+
682
757
  interface _StartPentestJobResponseSuccess
683
758
  include ::Seahorse::Client::_ResponseSuccess[Types::StartPentestJobOutput]
684
759
  def title: () -> ::String
@@ -696,6 +771,16 @@ module Aws
696
771
  ) -> _StartPentestJobResponseSuccess
697
772
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
698
773
 
774
+ interface _StopCodeReviewJobResponseSuccess
775
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopCodeReviewJobOutput]
776
+ end
777
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#stop_code_review_job-instance_method
778
+ def stop_code_review_job: (
779
+ agent_space_id: ::String,
780
+ code_review_job_id: ::String
781
+ ) -> _StopCodeReviewJobResponseSuccess
782
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCodeReviewJobResponseSuccess
783
+
699
784
  interface _StopPentestJobResponseSuccess
700
785
  include ::Seahorse::Client::_ResponseSuccess[Types::StopPentestJobOutput]
701
786
  end
@@ -742,20 +827,7 @@ module Aws
742
827
  agent_space_id: ::String,
743
828
  ?name: ::String,
744
829
  ?description: ::String,
745
- ?aws_resources: {
746
- vpcs: Array[
747
- {
748
- vpc_arn: ::String?,
749
- security_group_arns: Array[::String]?,
750
- subnet_arns: Array[::String]?
751
- },
752
- ]?,
753
- log_groups: Array[::String]?,
754
- s3_buckets: Array[::String]?,
755
- secret_arns: Array[::String]?,
756
- lambda_function_arns: Array[::String]?,
757
- iam_roles: Array[::String]?
758
- },
830
+ ?aws_resources: Params::aws_resources,
759
831
  ?target_domain_ids: Array[::String],
760
832
  ?code_review_settings: {
761
833
  controls_scanning: bool,
@@ -776,6 +848,33 @@ module Aws
776
848
  ) -> _UpdateApplicationResponseSuccess
777
849
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
778
850
 
851
+ interface _UpdateCodeReviewResponseSuccess
852
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCodeReviewOutput]
853
+ def code_review_id: () -> ::String
854
+ def title: () -> ::String
855
+ def created_at: () -> ::Time
856
+ def updated_at: () -> ::Time
857
+ def assets: () -> Types::Assets
858
+ def service_role: () -> ::String
859
+ def log_config: () -> Types::CloudWatchLog
860
+ def agent_space_id: () -> ::String
861
+ def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
862
+ end
863
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_code_review-instance_method
864
+ def update_code_review: (
865
+ code_review_id: ::String,
866
+ agent_space_id: ::String,
867
+ ?title: ::String,
868
+ ?assets: Params::assets,
869
+ ?service_role: ::String,
870
+ ?log_config: {
871
+ log_group: ::String?,
872
+ log_stream: ::String?
873
+ },
874
+ ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
875
+ ) -> _UpdateCodeReviewResponseSuccess
876
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeReviewResponseSuccess
877
+
779
878
  interface _UpdateFindingResponseSuccess
780
879
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFindingOutput]
781
880
  end
@@ -809,7 +908,7 @@ module Aws
809
908
  remediate_code: bool?
810
909
  }?
811
910
  }?
812
- },
911
+ }
813
912
  ]
814
913
  ) -> _UpdateIntegratedResourcesResponseSuccess
815
914
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
@@ -831,41 +930,7 @@ module Aws
831
930
  pentest_id: ::String,
832
931
  agent_space_id: ::String,
833
932
  ?title: ::String,
834
- ?assets: {
835
- endpoints: Array[
836
- {
837
- uri: ::String?
838
- },
839
- ]?,
840
- actors: Array[
841
- {
842
- identifier: ::String?,
843
- uris: Array[::String]?,
844
- authentication: {
845
- provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
846
- value: ::String?
847
- }?,
848
- description: ::String?
849
- },
850
- ]?,
851
- documents: Array[
852
- {
853
- s3_location: ::String?,
854
- artifact_id: ::String?
855
- },
856
- ]?,
857
- source_code: Array[
858
- {
859
- s3_location: ::String?
860
- },
861
- ]?,
862
- integrated_repositories: Array[
863
- {
864
- integration_id: ::String,
865
- provider_resource_id: ::String
866
- },
867
- ]?
868
- },
933
+ ?assets: Params::assets,
869
934
  ?exclude_risk_types: Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")],
870
935
  ?service_role: ::String,
871
936
  ?log_config: {
@@ -877,21 +942,7 @@ module Aws
877
942
  security_group_arns: Array[::String]?,
878
943
  subnet_arns: Array[::String]?
879
944
  },
880
- ?network_traffic_config: {
881
- rules: Array[
882
- {
883
- effect: ("ALLOW" | "DENY")?,
884
- pattern: ::String?,
885
- network_traffic_rule_type: ("URL")?
886
- },
887
- ]?,
888
- custom_headers: Array[
889
- {
890
- name: ::String?,
891
- value: ::String?
892
- },
893
- ]?
894
- },
945
+ ?network_traffic_config: Params::network_traffic_config,
895
946
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
896
947
  ) -> _UpdatePentestResponseSuccess
897
948
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
data/sig/params.rbs ADDED
@@ -0,0 +1,82 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecurityAgent
10
+ module Params
11
+ type aws_resources = {
12
+ vpcs: Array[
13
+ {
14
+ vpc_arn: ::String?,
15
+ security_group_arns: Array[::String]?,
16
+ subnet_arns: Array[::String]?
17
+ }
18
+ ]?,
19
+ log_groups: Array[::String]?,
20
+ s3_buckets: Array[::String]?,
21
+ secret_arns: Array[::String]?,
22
+ lambda_function_arns: Array[::String]?,
23
+ iam_roles: Array[::String]?
24
+ }
25
+
26
+ type assets = {
27
+ endpoints: Array[
28
+ {
29
+ uri: ::String?
30
+ }
31
+ ]?,
32
+ actors: Array[
33
+ Params::actor
34
+ ]?,
35
+ documents: Array[
36
+ {
37
+ s3_location: ::String?,
38
+ artifact_id: ::String?
39
+ }
40
+ ]?,
41
+ source_code: Array[
42
+ {
43
+ s3_location: ::String?
44
+ }
45
+ ]?,
46
+ integrated_repositories: Array[
47
+ {
48
+ integration_id: ::String,
49
+ provider_resource_id: ::String
50
+ }
51
+ ]?
52
+ }
53
+
54
+ type actor = {
55
+ identifier: ::String?,
56
+ uris: Array[::String]?,
57
+ authentication: {
58
+ provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
59
+ value: ::String?
60
+ }?,
61
+ description: ::String?
62
+ }
63
+
64
+ type network_traffic_config = {
65
+ rules: Array[
66
+ {
67
+ effect: ("ALLOW" | "DENY")?,
68
+ pattern: ::String?,
69
+ network_traffic_rule_type: ("URL")?
70
+ }
71
+ ]?,
72
+ custom_headers: Array[
73
+ {
74
+ name: ::String?,
75
+ value: ::String?
76
+ }
77
+ ]?
78
+ }
79
+
80
+ end
81
+ end
82
+ end