aws-sdk-securityagent 1.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +1 -1
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +9 -199
- data/sig/params.rbs +82 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34d8767358701fc0132d53a5e2b31c78c2f81aaa15da33dc1ae021fd8ce77937
|
|
4
|
+
data.tar.gz: 6ebcc892077e50299a9a3837cebdd16c352863c76fc2e5ec9e3cb0ce5c014ac1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48465b541eb4d2d0ec56942556954b231ef451c8d85ba6170d56cd2ca4a502ac4cecf0874b7fb44f7febdc34c9745c37d56e48775e820cde06580002c926c815
|
|
7
|
+
data.tar.gz: b79b9ef5f0b33d4d271fc40416f07019d9f2309d45f90fa75146162cbb3d5369ff4ec01848879cddaf357174b7e1454fa0e20cce18880800b3082ae1212690aa
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.3.0
|
|
@@ -3837,7 +3837,7 @@ module Aws::SecurityAgent
|
|
|
3837
3837
|
tracer: tracer
|
|
3838
3838
|
)
|
|
3839
3839
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
3840
|
-
context[:gem_version] = '1.
|
|
3840
|
+
context[:gem_version] = '1.3.0'
|
|
3841
3841
|
Seahorse::Client::Request.new(handlers, context)
|
|
3842
3842
|
end
|
|
3843
3843
|
|
data/sig/client.rbs
CHANGED
|
@@ -248,20 +248,7 @@ module Aws
|
|
|
248
248
|
def create_agent_space: (
|
|
249
249
|
name: ::String,
|
|
250
250
|
?description: ::String,
|
|
251
|
-
?aws_resources:
|
|
252
|
-
vpcs: Array[
|
|
253
|
-
{
|
|
254
|
-
vpc_arn: ::String?,
|
|
255
|
-
security_group_arns: Array[::String]?,
|
|
256
|
-
subnet_arns: Array[::String]?
|
|
257
|
-
},
|
|
258
|
-
]?,
|
|
259
|
-
log_groups: Array[::String]?,
|
|
260
|
-
s3_buckets: Array[::String]?,
|
|
261
|
-
secret_arns: Array[::String]?,
|
|
262
|
-
lambda_function_arns: Array[::String]?,
|
|
263
|
-
iam_roles: Array[::String]?
|
|
264
|
-
},
|
|
251
|
+
?aws_resources: Params::aws_resources,
|
|
265
252
|
?target_domain_ids: Array[::String],
|
|
266
253
|
?code_review_settings: {
|
|
267
254
|
controls_scanning: bool,
|
|
@@ -301,41 +288,7 @@ module Aws
|
|
|
301
288
|
def create_code_review: (
|
|
302
289
|
title: ::String,
|
|
303
290
|
agent_space_id: ::String,
|
|
304
|
-
assets:
|
|
305
|
-
endpoints: Array[
|
|
306
|
-
{
|
|
307
|
-
uri: ::String?
|
|
308
|
-
},
|
|
309
|
-
]?,
|
|
310
|
-
actors: Array[
|
|
311
|
-
{
|
|
312
|
-
identifier: ::String?,
|
|
313
|
-
uris: Array[::String]?,
|
|
314
|
-
authentication: {
|
|
315
|
-
provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
|
|
316
|
-
value: ::String?
|
|
317
|
-
}?,
|
|
318
|
-
description: ::String?
|
|
319
|
-
},
|
|
320
|
-
]?,
|
|
321
|
-
documents: Array[
|
|
322
|
-
{
|
|
323
|
-
s3_location: ::String?,
|
|
324
|
-
artifact_id: ::String?
|
|
325
|
-
},
|
|
326
|
-
]?,
|
|
327
|
-
source_code: Array[
|
|
328
|
-
{
|
|
329
|
-
s3_location: ::String?
|
|
330
|
-
},
|
|
331
|
-
]?,
|
|
332
|
-
integrated_repositories: Array[
|
|
333
|
-
{
|
|
334
|
-
integration_id: ::String,
|
|
335
|
-
provider_resource_id: ::String
|
|
336
|
-
},
|
|
337
|
-
]?
|
|
338
|
-
},
|
|
291
|
+
assets: Params::assets,
|
|
339
292
|
?service_role: ::String,
|
|
340
293
|
?log_config: {
|
|
341
294
|
log_group: ::String?,
|
|
@@ -398,41 +351,7 @@ module Aws
|
|
|
398
351
|
def create_pentest: (
|
|
399
352
|
title: ::String,
|
|
400
353
|
agent_space_id: ::String,
|
|
401
|
-
?assets:
|
|
402
|
-
endpoints: Array[
|
|
403
|
-
{
|
|
404
|
-
uri: ::String?
|
|
405
|
-
},
|
|
406
|
-
]?,
|
|
407
|
-
actors: Array[
|
|
408
|
-
{
|
|
409
|
-
identifier: ::String?,
|
|
410
|
-
uris: Array[::String]?,
|
|
411
|
-
authentication: {
|
|
412
|
-
provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
|
|
413
|
-
value: ::String?
|
|
414
|
-
}?,
|
|
415
|
-
description: ::String?
|
|
416
|
-
},
|
|
417
|
-
]?,
|
|
418
|
-
documents: Array[
|
|
419
|
-
{
|
|
420
|
-
s3_location: ::String?,
|
|
421
|
-
artifact_id: ::String?
|
|
422
|
-
},
|
|
423
|
-
]?,
|
|
424
|
-
source_code: Array[
|
|
425
|
-
{
|
|
426
|
-
s3_location: ::String?
|
|
427
|
-
},
|
|
428
|
-
]?,
|
|
429
|
-
integrated_repositories: Array[
|
|
430
|
-
{
|
|
431
|
-
integration_id: ::String,
|
|
432
|
-
provider_resource_id: ::String
|
|
433
|
-
},
|
|
434
|
-
]?
|
|
435
|
-
},
|
|
354
|
+
?assets: Params::assets,
|
|
436
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")],
|
|
437
356
|
?service_role: ::String,
|
|
438
357
|
?log_config: {
|
|
@@ -444,21 +363,7 @@ module Aws
|
|
|
444
363
|
security_group_arns: Array[::String]?,
|
|
445
364
|
subnet_arns: Array[::String]?
|
|
446
365
|
},
|
|
447
|
-
?network_traffic_config:
|
|
448
|
-
rules: Array[
|
|
449
|
-
{
|
|
450
|
-
effect: ("ALLOW" | "DENY")?,
|
|
451
|
-
pattern: ::String?,
|
|
452
|
-
network_traffic_rule_type: ("URL")?
|
|
453
|
-
},
|
|
454
|
-
]?,
|
|
455
|
-
custom_headers: Array[
|
|
456
|
-
{
|
|
457
|
-
name: ::String?,
|
|
458
|
-
value: ::String?
|
|
459
|
-
},
|
|
460
|
-
]?
|
|
461
|
-
},
|
|
366
|
+
?network_traffic_config: Params::network_traffic_config,
|
|
462
367
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
463
368
|
) -> _CreatePentestResponseSuccess
|
|
464
369
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
@@ -922,20 +827,7 @@ module Aws
|
|
|
922
827
|
agent_space_id: ::String,
|
|
923
828
|
?name: ::String,
|
|
924
829
|
?description: ::String,
|
|
925
|
-
?aws_resources:
|
|
926
|
-
vpcs: Array[
|
|
927
|
-
{
|
|
928
|
-
vpc_arn: ::String?,
|
|
929
|
-
security_group_arns: Array[::String]?,
|
|
930
|
-
subnet_arns: Array[::String]?
|
|
931
|
-
},
|
|
932
|
-
]?,
|
|
933
|
-
log_groups: Array[::String]?,
|
|
934
|
-
s3_buckets: Array[::String]?,
|
|
935
|
-
secret_arns: Array[::String]?,
|
|
936
|
-
lambda_function_arns: Array[::String]?,
|
|
937
|
-
iam_roles: Array[::String]?
|
|
938
|
-
},
|
|
830
|
+
?aws_resources: Params::aws_resources,
|
|
939
831
|
?target_domain_ids: Array[::String],
|
|
940
832
|
?code_review_settings: {
|
|
941
833
|
controls_scanning: bool,
|
|
@@ -973,41 +865,7 @@ module Aws
|
|
|
973
865
|
code_review_id: ::String,
|
|
974
866
|
agent_space_id: ::String,
|
|
975
867
|
?title: ::String,
|
|
976
|
-
?assets:
|
|
977
|
-
endpoints: Array[
|
|
978
|
-
{
|
|
979
|
-
uri: ::String?
|
|
980
|
-
},
|
|
981
|
-
]?,
|
|
982
|
-
actors: Array[
|
|
983
|
-
{
|
|
984
|
-
identifier: ::String?,
|
|
985
|
-
uris: Array[::String]?,
|
|
986
|
-
authentication: {
|
|
987
|
-
provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
|
|
988
|
-
value: ::String?
|
|
989
|
-
}?,
|
|
990
|
-
description: ::String?
|
|
991
|
-
},
|
|
992
|
-
]?,
|
|
993
|
-
documents: Array[
|
|
994
|
-
{
|
|
995
|
-
s3_location: ::String?,
|
|
996
|
-
artifact_id: ::String?
|
|
997
|
-
},
|
|
998
|
-
]?,
|
|
999
|
-
source_code: Array[
|
|
1000
|
-
{
|
|
1001
|
-
s3_location: ::String?
|
|
1002
|
-
},
|
|
1003
|
-
]?,
|
|
1004
|
-
integrated_repositories: Array[
|
|
1005
|
-
{
|
|
1006
|
-
integration_id: ::String,
|
|
1007
|
-
provider_resource_id: ::String
|
|
1008
|
-
},
|
|
1009
|
-
]?
|
|
1010
|
-
},
|
|
868
|
+
?assets: Params::assets,
|
|
1011
869
|
?service_role: ::String,
|
|
1012
870
|
?log_config: {
|
|
1013
871
|
log_group: ::String?,
|
|
@@ -1050,7 +908,7 @@ module Aws
|
|
|
1050
908
|
remediate_code: bool?
|
|
1051
909
|
}?
|
|
1052
910
|
}?
|
|
1053
|
-
}
|
|
911
|
+
}
|
|
1054
912
|
]
|
|
1055
913
|
) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1056
914
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
|
|
@@ -1072,41 +930,7 @@ module Aws
|
|
|
1072
930
|
pentest_id: ::String,
|
|
1073
931
|
agent_space_id: ::String,
|
|
1074
932
|
?title: ::String,
|
|
1075
|
-
?assets:
|
|
1076
|
-
endpoints: Array[
|
|
1077
|
-
{
|
|
1078
|
-
uri: ::String?
|
|
1079
|
-
},
|
|
1080
|
-
]?,
|
|
1081
|
-
actors: Array[
|
|
1082
|
-
{
|
|
1083
|
-
identifier: ::String?,
|
|
1084
|
-
uris: Array[::String]?,
|
|
1085
|
-
authentication: {
|
|
1086
|
-
provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
|
|
1087
|
-
value: ::String?
|
|
1088
|
-
}?,
|
|
1089
|
-
description: ::String?
|
|
1090
|
-
},
|
|
1091
|
-
]?,
|
|
1092
|
-
documents: Array[
|
|
1093
|
-
{
|
|
1094
|
-
s3_location: ::String?,
|
|
1095
|
-
artifact_id: ::String?
|
|
1096
|
-
},
|
|
1097
|
-
]?,
|
|
1098
|
-
source_code: Array[
|
|
1099
|
-
{
|
|
1100
|
-
s3_location: ::String?
|
|
1101
|
-
},
|
|
1102
|
-
]?,
|
|
1103
|
-
integrated_repositories: Array[
|
|
1104
|
-
{
|
|
1105
|
-
integration_id: ::String,
|
|
1106
|
-
provider_resource_id: ::String
|
|
1107
|
-
},
|
|
1108
|
-
]?
|
|
1109
|
-
},
|
|
933
|
+
?assets: Params::assets,
|
|
1110
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")],
|
|
1111
935
|
?service_role: ::String,
|
|
1112
936
|
?log_config: {
|
|
@@ -1118,21 +942,7 @@ module Aws
|
|
|
1118
942
|
security_group_arns: Array[::String]?,
|
|
1119
943
|
subnet_arns: Array[::String]?
|
|
1120
944
|
},
|
|
1121
|
-
?network_traffic_config:
|
|
1122
|
-
rules: Array[
|
|
1123
|
-
{
|
|
1124
|
-
effect: ("ALLOW" | "DENY")?,
|
|
1125
|
-
pattern: ::String?,
|
|
1126
|
-
network_traffic_rule_type: ("URL")?
|
|
1127
|
-
},
|
|
1128
|
-
]?,
|
|
1129
|
-
custom_headers: Array[
|
|
1130
|
-
{
|
|
1131
|
-
name: ::String?,
|
|
1132
|
-
value: ::String?
|
|
1133
|
-
},
|
|
1134
|
-
]?
|
|
1135
|
-
},
|
|
945
|
+
?network_traffic_config: Params::network_traffic_config,
|
|
1136
946
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
1137
947
|
) -> _UpdatePentestResponseSuccess
|
|
1138
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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-securityagent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-securityagent/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|