aws-sdk-securityagent 1.15.0 → 1.17.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.
data/sig/client.rbs CHANGED
@@ -409,6 +409,8 @@ module Aws
409
409
  def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
410
410
  def validation_mode: () -> ("DISABLED" | "SIMULATED")
411
411
  def max_task_hours: () -> ::Float
412
+ def report_destination: () -> Types::ReportDestination
413
+ def report_filters: () -> Types::ReportFilters
412
414
  end
413
415
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_code_review-instance_method
414
416
  def create_code_review: (
@@ -422,7 +424,14 @@ module Aws
422
424
  },
423
425
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
424
426
  ?validation_mode: ("DISABLED" | "SIMULATED"),
425
- ?max_task_hours: ::Float
427
+ ?max_task_hours: ::Float,
428
+ ?report_destination: {
429
+ integration_id: ::String,
430
+ container_id: ::String,
431
+ parent_id: ::String?,
432
+ document_id: ::String?
433
+ },
434
+ ?report_filters: Params::report_filters
426
435
  ) -> _CreateCodeReviewResponseSuccess
427
436
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeReviewResponseSuccess
428
437
 
@@ -495,6 +504,8 @@ module Aws
495
504
  def service_role: () -> ::String
496
505
  def log_config: () -> Types::CloudWatchLog
497
506
  def agent_space_id: () -> ::String
507
+ def report_destination: () -> Types::ReportDestination
508
+ def report_filters: () -> Types::ReportFilters
498
509
  end
499
510
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_pentest-instance_method
500
511
  def create_pentest: (
@@ -515,7 +526,14 @@ module Aws
515
526
  ?network_traffic_config: Params::network_traffic_config,
516
527
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
517
528
  ?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")],
518
- ?max_task_hours: ::Float
529
+ ?max_task_hours: ::Float,
530
+ ?report_destination: {
531
+ integration_id: ::String,
532
+ container_id: ::String,
533
+ parent_id: ::String?,
534
+ document_id: ::String?
535
+ },
536
+ ?report_filters: Params::report_filters
519
537
  ) -> _CreatePentestResponseSuccess
520
538
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
521
539
 
@@ -657,6 +675,7 @@ module Aws
657
675
  def log_config: () -> Types::CloudWatchLog
658
676
  def created_at: () -> ::Time
659
677
  def updated_at: () -> ::Time
678
+ def report_destination: () -> Types::ReportDestination
660
679
  end
661
680
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_threat_model-instance_method
662
681
  def create_threat_model: (
@@ -884,6 +903,21 @@ module Aws
884
903
  ) -> _InitiateProviderRegistrationResponseSuccess
885
904
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
886
905
 
906
+ interface _ListActorMessagesResponseSuccess
907
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActorMessagesOutput]
908
+ def messages: () -> ::Array[Types::ActorMessage]
909
+ def next_token: () -> ::String
910
+ end
911
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_actor_messages-instance_method
912
+ def list_actor_messages: (
913
+ ?max_results: ::Integer,
914
+ ?next_token: ::String,
915
+ agent_space_id: ::String,
916
+ pentest_id: ::String,
917
+ actor_identifier: ::String
918
+ ) -> _ListActorMessagesResponseSuccess
919
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActorMessagesResponseSuccess
920
+
887
921
  interface _ListAgentSpacesResponseSuccess
888
922
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentSpacesOutput]
889
923
  def agent_space_summaries: () -> ::Array[Types::AgentSpaceSummary]
@@ -1374,6 +1408,8 @@ module Aws
1374
1408
  def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
1375
1409
  def validation_mode: () -> ("DISABLED" | "SIMULATED")
1376
1410
  def max_task_hours: () -> ::Float
1411
+ def report_destination: () -> Types::ReportDestination
1412
+ def report_filters: () -> Types::ReportFilters
1377
1413
  end
1378
1414
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_code_review-instance_method
1379
1415
  def update_code_review: (
@@ -1388,7 +1424,14 @@ module Aws
1388
1424
  },
1389
1425
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
1390
1426
  ?validation_mode: ("DISABLED" | "SIMULATED"),
1391
- ?max_task_hours: ::Float
1427
+ ?max_task_hours: ::Float,
1428
+ ?report_destination: {
1429
+ integration_id: ::String,
1430
+ container_id: ::String,
1431
+ parent_id: ::String?,
1432
+ document_id: ::String?
1433
+ },
1434
+ ?report_filters: Params::report_filters
1392
1435
  ) -> _UpdateCodeReviewResponseSuccess
1393
1436
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeReviewResponseSuccess
1394
1437
 
@@ -1476,6 +1519,8 @@ module Aws
1476
1519
  def service_role: () -> ::String
1477
1520
  def log_config: () -> Types::CloudWatchLog
1478
1521
  def agent_space_id: () -> ::String
1522
+ def report_destination: () -> Types::ReportDestination
1523
+ def report_filters: () -> Types::ReportFilters
1479
1524
  end
1480
1525
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_pentest-instance_method
1481
1526
  def update_pentest: (
@@ -1497,7 +1542,14 @@ module Aws
1497
1542
  ?network_traffic_config: Params::network_traffic_config,
1498
1543
  ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
1499
1544
  ?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")],
1500
- ?max_task_hours: ::Float
1545
+ ?max_task_hours: ::Float,
1546
+ ?report_destination: {
1547
+ integration_id: ::String,
1548
+ container_id: ::String,
1549
+ parent_id: ::String?,
1550
+ document_id: ::String?
1551
+ },
1552
+ ?report_filters: Params::report_filters
1501
1553
  ) -> _UpdatePentestResponseSuccess
1502
1554
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
1503
1555
 
@@ -1621,6 +1673,7 @@ module Aws
1621
1673
  def log_config: () -> Types::CloudWatchLog
1622
1674
  def created_at: () -> ::Time
1623
1675
  def updated_at: () -> ::Time
1676
+ def report_destination: () -> Types::ReportDestination
1624
1677
  end
1625
1678
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_threat_model-instance_method
1626
1679
  def update_threat_model: (
@@ -1636,6 +1689,12 @@ module Aws
1636
1689
  ?log_config: {
1637
1690
  log_group: ::String?,
1638
1691
  log_stream: ::String?
1692
+ },
1693
+ ?report_destination: {
1694
+ integration_id: ::String,
1695
+ container_id: ::String,
1696
+ parent_id: ::String?,
1697
+ document_id: ::String?
1639
1698
  }
1640
1699
  ) -> _UpdateThreatModelResponseSuccess
1641
1700
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThreatModelResponseSuccess
data/sig/params.rbs CHANGED
@@ -79,6 +79,17 @@ module Aws
79
79
  }?
80
80
  }
81
81
 
82
+ type report_filters = {
83
+ risk_levels: Array[("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")]?,
84
+ confidence_levels: Array[("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")]?,
85
+ statuses: Array[("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE")]?,
86
+ 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")]?,
87
+ finding_types: Array[::String]?,
88
+ task_statuses: Array[("IN_PROGRESS" | "ABORTED" | "COMPLETED" | "INTERNAL_ERROR" | "FAILED")]?,
89
+ annotation_notes: bool?,
90
+ compliance_report: bool?
91
+ }
92
+
82
93
  type network_traffic_config = {
83
94
  rules: Array[
84
95
  {
data/sig/types.rbs CHANGED
@@ -33,6 +33,14 @@ module Aws::SecurityAgent
33
33
  SENSITIVE: [:mfa_forwarding_address]
34
34
  end
35
35
 
36
+ class ActorMessage
37
+ attr_accessor sender: ::String
38
+ attr_accessor subject: ::String
39
+ attr_accessor body: ::String
40
+ attr_accessor received_at: ::Time
41
+ SENSITIVE: [:sender, :subject, :body]
42
+ end
43
+
36
44
  class AddArtifactInput
37
45
  attr_accessor agent_space_id: ::String
38
46
  attr_accessor artifact_content: ::String
@@ -481,6 +489,8 @@ module Aws::SecurityAgent
481
489
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
482
490
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
483
491
  attr_accessor max_task_hours: ::Float
492
+ attr_accessor report_destination: Types::ReportDestination
493
+ attr_accessor report_filters: Types::ReportFilters
484
494
  attr_accessor created_at: ::Time
485
495
  attr_accessor updated_at: ::Time
486
496
  SENSITIVE: []
@@ -502,6 +512,7 @@ module Aws::SecurityAgent
502
512
  attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
503
513
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
504
514
  attr_accessor max_task_hours: ::Float
515
+ attr_accessor report_destination: Types::ReportDestination
505
516
  attr_accessor created_at: ::Time
506
517
  attr_accessor updated_at: ::Time
507
518
  SENSITIVE: []
@@ -646,6 +657,8 @@ module Aws::SecurityAgent
646
657
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
647
658
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
648
659
  attr_accessor max_task_hours: ::Float
660
+ attr_accessor report_destination: Types::ReportDestination
661
+ attr_accessor report_filters: Types::ReportFilters
649
662
  SENSITIVE: []
650
663
  end
651
664
 
@@ -661,6 +674,8 @@ module Aws::SecurityAgent
661
674
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
662
675
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
663
676
  attr_accessor max_task_hours: ::Float
677
+ attr_accessor report_destination: Types::ReportDestination
678
+ attr_accessor report_filters: Types::ReportFilters
664
679
  SENSITIVE: []
665
680
  end
666
681
 
@@ -703,6 +718,8 @@ module Aws::SecurityAgent
703
718
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
704
719
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
705
720
  attr_accessor max_task_hours: ::Float
721
+ attr_accessor report_destination: Types::ReportDestination
722
+ attr_accessor report_filters: Types::ReportFilters
706
723
  SENSITIVE: []
707
724
  end
708
725
 
@@ -716,6 +733,8 @@ module Aws::SecurityAgent
716
733
  attr_accessor service_role: ::String
717
734
  attr_accessor log_config: Types::CloudWatchLog
718
735
  attr_accessor agent_space_id: ::String
736
+ attr_accessor report_destination: Types::ReportDestination
737
+ attr_accessor report_filters: Types::ReportFilters
719
738
  SENSITIVE: []
720
739
  end
721
740
 
@@ -827,6 +846,7 @@ module Aws::SecurityAgent
827
846
  attr_accessor log_config: Types::CloudWatchLog
828
847
  attr_accessor created_at: ::Time
829
848
  attr_accessor updated_at: ::Time
849
+ attr_accessor report_destination: Types::ReportDestination
830
850
  SENSITIVE: []
831
851
  end
832
852
 
@@ -1348,6 +1368,21 @@ module Aws::SecurityAgent
1348
1368
  SENSITIVE: []
1349
1369
  end
1350
1370
 
1371
+ class ListActorMessagesInput
1372
+ attr_accessor max_results: ::Integer
1373
+ attr_accessor next_token: ::String
1374
+ attr_accessor agent_space_id: ::String
1375
+ attr_accessor pentest_id: ::String
1376
+ attr_accessor actor_identifier: ::String
1377
+ SENSITIVE: []
1378
+ end
1379
+
1380
+ class ListActorMessagesOutput
1381
+ attr_accessor messages: ::Array[Types::ActorMessage]
1382
+ attr_accessor next_token: ::String
1383
+ SENSITIVE: []
1384
+ end
1385
+
1351
1386
  class ListAgentSpacesInput
1352
1387
  attr_accessor next_token: ::String
1353
1388
  attr_accessor max_results: ::Integer
@@ -1739,6 +1774,8 @@ module Aws::SecurityAgent
1739
1774
  attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
1740
1775
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1741
1776
  attr_accessor max_task_hours: ::Float
1777
+ attr_accessor report_destination: Types::ReportDestination
1778
+ attr_accessor report_filters: Types::ReportFilters
1742
1779
  attr_accessor created_at: ::Time
1743
1780
  attr_accessor updated_at: ::Time
1744
1781
  SENSITIVE: []
@@ -1772,6 +1809,7 @@ module Aws::SecurityAgent
1772
1809
  attr_accessor max_task_hours: ::Float
1773
1810
  attr_accessor job_type: ("FULL" | "REVALIDATION")
1774
1811
  attr_accessor selected_finding_ids: ::Array[::String]
1812
+ attr_accessor report_destination: Types::ReportDestination
1775
1813
  attr_accessor created_at: ::Time
1776
1814
  attr_accessor updated_at: ::Time
1777
1815
  SENSITIVE: []
@@ -1873,6 +1911,18 @@ module Aws::SecurityAgent
1873
1911
  SENSITIVE: []
1874
1912
  end
1875
1913
 
1914
+ class ReportFilters
1915
+ attr_accessor risk_levels: ::Array[("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")]
1916
+ attr_accessor confidence_levels: ::Array[("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")]
1917
+ attr_accessor statuses: ::Array[("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE")]
1918
+ attr_accessor 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")]
1919
+ attr_accessor finding_types: ::Array[::String]
1920
+ attr_accessor task_statuses: ::Array[("IN_PROGRESS" | "ABORTED" | "COMPLETED" | "INTERNAL_ERROR" | "FAILED")]
1921
+ attr_accessor annotation_notes: bool
1922
+ attr_accessor compliance_report: bool
1923
+ SENSITIVE: []
1924
+ end
1925
+
1876
1926
  class ResourceNotFoundException
1877
1927
  attr_accessor message: ::String
1878
1928
  SENSITIVE: []
@@ -2141,6 +2191,7 @@ module Aws::SecurityAgent
2141
2191
  attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2142
2192
  attr_accessor service_role: ::String
2143
2193
  attr_accessor log_config: Types::CloudWatchLog
2194
+ attr_accessor report_destination: Types::ReportDestination
2144
2195
  attr_accessor created_at: ::Time
2145
2196
  attr_accessor updated_at: ::Time
2146
2197
  SENSITIVE: []
@@ -2162,6 +2213,7 @@ module Aws::SecurityAgent
2162
2213
  attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2163
2214
  attr_accessor error_information: Types::ErrorInformation
2164
2215
  attr_accessor system_overview: ::String
2216
+ attr_accessor report_destination: Types::ReportDestination
2165
2217
  SENSITIVE: []
2166
2218
  end
2167
2219
 
@@ -2291,6 +2343,8 @@ module Aws::SecurityAgent
2291
2343
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2292
2344
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
2293
2345
  attr_accessor max_task_hours: ::Float
2346
+ attr_accessor report_destination: Types::ReportDestination
2347
+ attr_accessor report_filters: Types::ReportFilters
2294
2348
  SENSITIVE: []
2295
2349
  end
2296
2350
 
@@ -2306,6 +2360,8 @@ module Aws::SecurityAgent
2306
2360
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2307
2361
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
2308
2362
  attr_accessor max_task_hours: ::Float
2363
+ attr_accessor report_destination: Types::ReportDestination
2364
+ attr_accessor report_filters: Types::ReportFilters
2309
2365
  SENSITIVE: []
2310
2366
  end
2311
2367
 
@@ -2350,6 +2406,8 @@ module Aws::SecurityAgent
2350
2406
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2351
2407
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
2352
2408
  attr_accessor max_task_hours: ::Float
2409
+ attr_accessor report_destination: Types::ReportDestination
2410
+ attr_accessor report_filters: Types::ReportFilters
2353
2411
  SENSITIVE: []
2354
2412
  end
2355
2413
 
@@ -2363,6 +2421,8 @@ module Aws::SecurityAgent
2363
2421
  attr_accessor service_role: ::String
2364
2422
  attr_accessor log_config: Types::CloudWatchLog
2365
2423
  attr_accessor agent_space_id: ::String
2424
+ attr_accessor report_destination: Types::ReportDestination
2425
+ attr_accessor report_filters: Types::ReportFilters
2366
2426
  SENSITIVE: []
2367
2427
  end
2368
2428
 
@@ -2458,6 +2518,7 @@ module Aws::SecurityAgent
2458
2518
  attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2459
2519
  attr_accessor service_role: ::String
2460
2520
  attr_accessor log_config: Types::CloudWatchLog
2521
+ attr_accessor report_destination: Types::ReportDestination
2461
2522
  SENSITIVE: []
2462
2523
  end
2463
2524
 
@@ -2472,6 +2533,7 @@ module Aws::SecurityAgent
2472
2533
  attr_accessor log_config: Types::CloudWatchLog
2473
2534
  attr_accessor created_at: ::Time
2474
2535
  attr_accessor updated_at: ::Time
2536
+ attr_accessor report_destination: Types::ReportDestination
2475
2537
  SENSITIVE: []
2476
2538
  end
2477
2539
 
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.15.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services