aws-sdk-continuum 1.9.0 → 1.10.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.
@@ -10,9 +10,8 @@
10
10
  module Aws::Continuum
11
11
  module Types
12
12
 
13
- # The request is not authorized. Verify that your credentials and
14
- # request signature are valid and that you have permission to perform
15
- # this action.
13
+ # You don't have permission to perform this action. Verify that your
14
+ # IAM policy includes the required permissions.
16
15
  #
17
16
  # @!attribute [rw] message
18
17
  # Error description.
@@ -361,11 +360,83 @@ module Aws::Continuum
361
360
  include Aws::Structure
362
361
  end
363
362
 
364
- # The request could not be completed due to a conflict with the current
365
- # state of the resource.
363
+ # A single condition: a signal, an operator, and a value. The service
364
+ # checks that the operator and value are valid for the signal when the
365
+ # policy is created or updated.
366
+ #
367
+ # @!attribute [rw] signal
368
+ # The package attribute that the condition tests.
369
+ # @return [String]
370
+ #
371
+ # @!attribute [rw] operator
372
+ # How the signal is compared with the value.
373
+ # @return [String]
374
+ #
375
+ # @!attribute [rw] value
376
+ # The value to compare the signal with. Omit it for the PRESENT
377
+ # operator, which takes no value.
378
+ # @return [Types::ConditionValue]
379
+ #
380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/Condition AWS API Documentation
381
+ #
382
+ class Condition < Struct.new(
383
+ :signal,
384
+ :operator,
385
+ :value)
386
+ SENSITIVE = []
387
+ include Aws::Structure
388
+ end
389
+
390
+ # The value of a condition. Specify exactly one member, matching the
391
+ # signal and operator: `packageIdentity` for PACKAGE\_IDENTITY with
392
+ # MATCHES, `severity` for INSPECTOR\_SEVERITY with AT\_LEAST, EQUALS, or
393
+ # NOT\_EQUALS, `stringValue` for EQUALS or NOT\_EQUALS, and `stringSet`
394
+ # for IN.
395
+ #
396
+ # @note ConditionValue is a union - when making an API calls you must set exactly one of the members.
397
+ #
398
+ # @note ConditionValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ConditionValue corresponding to the set member.
399
+ #
400
+ # @!attribute [rw] package_identity
401
+ # The package to match, for the PACKAGE\_IDENTITY signal.
402
+ # @return [Types::PackageIdentity]
403
+ #
404
+ # @!attribute [rw] severity
405
+ # An Amazon Inspector severity, for the INSPECTOR\_SEVERITY signal.
406
+ # @return [String]
407
+ #
408
+ # @!attribute [rw] string_value
409
+ # A single value, for the EQUALS and NOT\_EQUALS operators.
410
+ # @return [String]
411
+ #
412
+ # @!attribute [rw] string_set
413
+ # A set of up to 20 values, for the IN operator.
414
+ # @return [Array<String>]
415
+ #
416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ConditionValue AWS API Documentation
417
+ #
418
+ class ConditionValue < Struct.new(
419
+ :package_identity,
420
+ :severity,
421
+ :string_value,
422
+ :string_set,
423
+ :unknown)
424
+ SENSITIVE = []
425
+ include Aws::Structure
426
+ include Aws::Structure::Union
427
+
428
+ class PackageIdentity < ConditionValue; end
429
+ class Severity < ConditionValue; end
430
+ class StringValue < ConditionValue; end
431
+ class StringSet < ConditionValue; end
432
+ class Unknown < ConditionValue; end
433
+ end
434
+
435
+ # The request conflicts with the current state of the resource. Check
436
+ # the state of the resource and try again.
366
437
  #
367
438
  # @!attribute [rw] message
368
- # Description of the conflict.
439
+ # Error description.
369
440
  # @return [String]
370
441
  #
371
442
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ConflictException AWS API Documentation
@@ -598,7 +669,8 @@ module Aws::Continuum
598
669
 
599
670
  # Specifies the name and type-specific configuration of the new
600
671
  # environment. Source and operating-policy settings belong to
601
- # configuration.codeConfiguration.
672
+ # configuration.codeConfiguration. Pentest settings belong to
673
+ # configuration.pentestConfiguration.
602
674
  #
603
675
  # @!attribute [rw] name
604
676
  # The customer-visible name of the environment.
@@ -651,36 +723,41 @@ module Aws::Continuum
651
723
  # Specifies the provider configuration and name for the new integration.
652
724
  #
653
725
  # @!attribute [rw] client_token
654
- # An optional token identifying one create attempt within the
655
- # caller's account, Region, and operation. SDKs generate a token when
656
- # omitted. If a request reaches the service without a token, the
657
- # service generates one for that request. Each request without a token
658
- # starts a new attempt. To replay an attempt, supply the same token
659
- # and identical input. Authorized users and roles in the same account
660
- # can retry an attempt this way. Token records are retained for eight
661
- # hours after success or terminal failure, including after deletion of
662
- # a successfully created integration. Different input with the same
663
- # token returns ValidationException.
726
+ # Optional idempotency token identifying one create attempt within the
727
+ # caller's account, Region, and operation. The service treats
728
+ # requests with the same token and identical input as replays of the
729
+ # first attempt.
664
730
  #
665
731
  # **A suitable default value is auto-generated.** You should normally
666
732
  # not need to pass this option.
667
733
  # @return [String]
668
734
  #
669
735
  # @!attribute [rw] name
670
- # The name for the integration.
736
+ # Caller-provided name for the new integration. Unique per account.
671
737
  # @return [String]
672
738
  #
673
739
  # @!attribute [rw] provider_configuration
674
- # The provider-specific configuration required to create the
675
- # integration. Only one member may be specified.
740
+ # Provider-specific configuration. Exactly one union member is set.
676
741
  # @return [Types::ProviderConfiguration]
677
742
  #
743
+ # @!attribute [rw] kms_key_id
744
+ # Optional customer managed KMS key ID. If present, Continuum
745
+ # provisions a Miyu CMK domain on this key and binds the
746
+ # integration's secrets to it.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] tags
750
+ # Tags to add to the integration when it's created.
751
+ # @return [Hash<String,String>]
752
+ #
678
753
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateIntegrationInput AWS API Documentation
679
754
  #
680
755
  class CreateIntegrationInput < Struct.new(
681
756
  :client_token,
682
757
  :name,
683
- :provider_configuration)
758
+ :provider_configuration,
759
+ :kms_key_id,
760
+ :tags)
684
761
  SENSITIVE = []
685
762
  include Aws::Structure
686
763
  end
@@ -690,25 +767,296 @@ module Aws::Continuum
690
767
  # since been deleted.
691
768
  #
692
769
  # @!attribute [rw] integration_id
693
- # The unique identifier of the created integration.
770
+ # Unique identifier of the created integration.
694
771
  # @return [String]
695
772
  #
696
773
  # @!attribute [rw] integration_arn
697
- # The ARN of the created integration.
774
+ # ARN of the created integration.
698
775
  # @return [String]
699
776
  #
700
777
  # @!attribute [rw] created_at
701
- # The timestamp when the integration was created.
778
+ # Time at which the integration was created.
702
779
  # @return [Time]
703
780
  #
781
+ # @!attribute [rw] kms_key_id
782
+ # Identifier of the customer managed KMS key, in key ARN form,
783
+ # resolved from the request's kmsKeyId. As in KMS responses, the key
784
+ # ID is returned as the key ARN. Present only when the request
785
+ # supplied kmsKeyId.
786
+ # @return [String]
787
+ #
788
+ # @!attribute [rw] tags
789
+ # The tags on the integration.
790
+ # @return [Hash<String,String>]
791
+ #
704
792
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateIntegrationOutput AWS API Documentation
705
793
  #
706
794
  class CreateIntegrationOutput < Struct.new(
707
795
  :integration_id,
708
796
  :integration_arn,
709
- :created_at)
797
+ :created_at,
798
+ :kms_key_id,
799
+ :tags)
800
+ SENSITIVE = []
801
+ include Aws::Structure
802
+ end
803
+
804
+ # Input for `CreatePackageDecision`.
805
+ #
806
+ # @!attribute [rw] purl
807
+ # The package URL (purl) of the package version to evaluate, such as
808
+ # `pkg:npm/lodash@4.17.21`.
809
+ # @return [String]
810
+ #
811
+ # @!attribute [rw] client_token
812
+ # Idempotency token. Generated SDKs fill it automatically. Within one
813
+ # hour, the same token with the same parameters returns the original
814
+ # decision, and the same token with different parameters returns
815
+ # ValidationException. Requests without a token are rejected with
816
+ # ValidationException.
817
+ #
818
+ # **A suitable default value is auto-generated.** You should normally
819
+ # not need to pass this option.
820
+ # @return [String]
821
+ #
822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreatePackageDecisionRequest AWS API Documentation
823
+ #
824
+ class CreatePackageDecisionRequest < Struct.new(
825
+ :purl,
826
+ :client_token)
827
+ SENSITIVE = []
828
+ include Aws::Structure
829
+ end
830
+
831
+ # Output for `CreatePackageDecision`.
832
+ #
833
+ # @!attribute [rw] decision_id
834
+ # The ID of the decision. Use it with GetPackageDecision and
835
+ # ListDecisionEvidence.
836
+ # @return [String]
837
+ #
838
+ # @!attribute [rw] canonical_purl
839
+ # The package URL (purl) that was evaluated, as accepted by the
840
+ # service.
841
+ # @return [String]
842
+ #
843
+ # @!attribute [rw] evaluated_action
844
+ # The result of policy evaluation: DENY when the malicious-package
845
+ # baseline or a deny rule matched and no policy exception suppressed
846
+ # it, otherwise ALLOW.
847
+ # @return [String]
848
+ #
849
+ # @!attribute [rw] enforcement_action
850
+ # The action to take. It differs from evaluatedAction only when
851
+ # enforcementMode is AUDIT: evaluatedAction is then DENY and
852
+ # enforcementAction is ALLOW.
853
+ # @return [String]
854
+ #
855
+ # @!attribute [rw] enforcement_mode
856
+ # The strongest enforcement mode among matches that a policy exception
857
+ # didn't suppress: ENFORCE for the malicious-package baseline or an
858
+ # enforced rule, AUDIT for an audit-mode rule. NONE when there is no
859
+ # such match, including when policy exceptions suppressed every match.
860
+ # @return [String]
861
+ #
862
+ # @!attribute [rw] reason
863
+ # Why the decision was made.
864
+ # @return [String]
865
+ #
866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreatePackageDecisionResponse AWS API Documentation
867
+ #
868
+ class CreatePackageDecisionResponse < Struct.new(
869
+ :decision_id,
870
+ :canonical_purl,
871
+ :evaluated_action,
872
+ :enforcement_action,
873
+ :enforcement_mode,
874
+ :reason)
875
+ SENSITIVE = []
876
+ include Aws::Structure
877
+ end
878
+
879
+ # Input for `CreateSupplyChainPolicyException`.
880
+ #
881
+ # @!attribute [rw] exception
882
+ # The exception to create: the policy and rules it suppresses, the
883
+ # package it applies to, a justification, and an expiry time.
884
+ # @return [Types::SupplyChainPolicyException]
885
+ #
886
+ # @!attribute [rw] tags
887
+ # Tags to add to the policy exception when it's created.
888
+ # @return [Hash<String,String>]
889
+ #
890
+ # @!attribute [rw] client_token
891
+ # Idempotency token. Generated SDKs fill it automatically. Within one
892
+ # hour, the same token with the same exception returns the exception
893
+ # it created. The same token with a different exception, or after that
894
+ # exception was deleted, returns ConflictException. Tags are not
895
+ # compared, and a repeated create leaves the exception's tags
896
+ # unchanged.
897
+ #
898
+ # **A suitable default value is auto-generated.** You should normally
899
+ # not need to pass this option.
900
+ # @return [String]
901
+ #
902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicyExceptionRequest AWS API Documentation
903
+ #
904
+ class CreateSupplyChainPolicyExceptionRequest < Struct.new(
905
+ :exception,
906
+ :tags,
907
+ :client_token)
908
+ SENSITIVE = []
909
+ include Aws::Structure
910
+ end
911
+
912
+ # Output for `CreateSupplyChainPolicyException`.
913
+ #
914
+ # @!attribute [rw] id
915
+ # Opaque identifier generated by the service.
916
+ # @return [String]
917
+ #
918
+ # @!attribute [rw] arn
919
+ # The ARN of the policy exception.
920
+ # @return [String]
921
+ #
922
+ # @!attribute [rw] exception
923
+ # The policy exception as stored.
924
+ # @return [Types::SupplyChainPolicyException]
925
+ #
926
+ # @!attribute [rw] status
927
+ # Computed from expiresAt at read time.
928
+ # @return [String]
929
+ #
930
+ # @!attribute [rw] created_at
931
+ # The time the policy exception was created.
932
+ # @return [Time]
933
+ #
934
+ # @!attribute [rw] updated_at
935
+ # The time the policy exception was last updated. Equal to createdAt
936
+ # for a new exception.
937
+ # @return [Time]
938
+ #
939
+ # @!attribute [rw] tags
940
+ # The tags on the policy exception.
941
+ # @return [Hash<String,String>]
942
+ #
943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicyExceptionResponse AWS API Documentation
944
+ #
945
+ class CreateSupplyChainPolicyExceptionResponse < Struct.new(
946
+ :id,
947
+ :arn,
948
+ :exception,
949
+ :status,
950
+ :created_at,
951
+ :updated_at,
952
+ :tags)
953
+ SENSITIVE = []
954
+ include Aws::Structure
955
+ end
956
+
957
+ # Input for `CreateSupplyChainPolicy`.
958
+ #
959
+ # @!attribute [rw] policy
960
+ # The policy to create: its name, description, and rules.
961
+ # @return [Types::SupplyChainPolicy]
962
+ #
963
+ # @!attribute [rw] tags
964
+ # Tags to add to the policy when it's created.
965
+ # @return [Hash<String,String>]
966
+ #
967
+ # @!attribute [rw] client_token
968
+ # Idempotency token. Generated SDKs fill it automatically. Within one
969
+ # hour, the same token with the same policy returns the policy it
970
+ # created. The same token with a different policy, or after that
971
+ # policy was deleted, returns ConflictException. Tags are not
972
+ # compared, and a repeated create leaves the policy's tags unchanged.
973
+ #
974
+ # **A suitable default value is auto-generated.** You should normally
975
+ # not need to pass this option.
976
+ # @return [String]
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicyRequest AWS API Documentation
979
+ #
980
+ class CreateSupplyChainPolicyRequest < Struct.new(
981
+ :policy,
982
+ :tags,
983
+ :client_token)
984
+ SENSITIVE = []
985
+ include Aws::Structure
986
+ end
987
+
988
+ # Output for `CreateSupplyChainPolicy`.
989
+ #
990
+ # @!attribute [rw] id
991
+ # Opaque identifier generated by the service.
992
+ # @return [String]
993
+ #
994
+ # @!attribute [rw] arn
995
+ # The ARN of the policy.
996
+ # @return [String]
997
+ #
998
+ # @!attribute [rw] policy
999
+ # The policy as stored.
1000
+ # @return [Types::SupplyChainPolicy]
1001
+ #
1002
+ # @!attribute [rw] created_at
1003
+ # The time the policy was created.
1004
+ # @return [Time]
1005
+ #
1006
+ # @!attribute [rw] updated_at
1007
+ # The time the policy was last updated. Equal to createdAt for a new
1008
+ # policy.
1009
+ # @return [Time]
1010
+ #
1011
+ # @!attribute [rw] tags
1012
+ # The tags on the policy.
1013
+ # @return [Hash<String,String>]
1014
+ #
1015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicyResponse AWS API Documentation
1016
+ #
1017
+ class CreateSupplyChainPolicyResponse < Struct.new(
1018
+ :id,
1019
+ :arn,
1020
+ :policy,
1021
+ :created_at,
1022
+ :updated_at,
1023
+ :tags)
1024
+ SENSITIVE = []
1025
+ include Aws::Structure
1026
+ end
1027
+
1028
+ # One item of evidence recorded for a decision. Exactly one member is
1029
+ # set.
1030
+ #
1031
+ # @note DecisionEvidence is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DecisionEvidence corresponding to the set member.
1032
+ #
1033
+ # @!attribute [rw] mandatory_baseline
1034
+ # The service-managed malicious-package baseline matched the package.
1035
+ # @return [Types::MandatoryBaselineEvidence]
1036
+ #
1037
+ # @!attribute [rw] policy_rule_match
1038
+ # A rule in one of your policies matched the package.
1039
+ # @return [Types::PolicyRuleMatchEvidence]
1040
+ #
1041
+ # @!attribute [rw] policy_exception
1042
+ # A policy exception suppressed one or more matching rules.
1043
+ # @return [Types::PolicyExceptionEvidence]
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DecisionEvidence AWS API Documentation
1046
+ #
1047
+ class DecisionEvidence < Struct.new(
1048
+ :mandatory_baseline,
1049
+ :policy_rule_match,
1050
+ :policy_exception,
1051
+ :unknown)
710
1052
  SENSITIVE = []
711
1053
  include Aws::Structure
1054
+ include Aws::Structure::Union
1055
+
1056
+ class MandatoryBaseline < DecisionEvidence; end
1057
+ class PolicyRuleMatch < DecisionEvidence; end
1058
+ class PolicyException < DecisionEvidence; end
1059
+ class Unknown < DecisionEvidence; end
712
1060
  end
713
1061
 
714
1062
  # Specifies the Collector to delete.
@@ -753,6 +1101,83 @@ module Aws::Continuum
753
1101
  include Aws::Structure
754
1102
  end
755
1103
 
1104
+ # Input for `DeleteSupplyChainPolicyException`.
1105
+ #
1106
+ # @!attribute [rw] id
1107
+ # The ID of the policy exception to delete.
1108
+ # @return [String]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DeleteSupplyChainPolicyExceptionRequest AWS API Documentation
1111
+ #
1112
+ class DeleteSupplyChainPolicyExceptionRequest < Struct.new(
1113
+ :id)
1114
+ SENSITIVE = []
1115
+ include Aws::Structure
1116
+ end
1117
+
1118
+ # Input for `DeleteSupplyChainPolicy`.
1119
+ #
1120
+ # @!attribute [rw] id
1121
+ # The ID of the policy to delete.
1122
+ # @return [String]
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DeleteSupplyChainPolicyRequest AWS API Documentation
1125
+ #
1126
+ class DeleteSupplyChainPolicyRequest < Struct.new(
1127
+ :id)
1128
+ SENSITIVE = []
1129
+ include Aws::Structure
1130
+ end
1131
+
1132
+ # The state of a delivered pull or merge request, as Continuum last read
1133
+ # it from GitHub or GitLab. Continuum reads it again each time a scan of
1134
+ # the environment is queued.
1135
+ #
1136
+ # @!attribute [rw] state
1137
+ # Whether the pull or merge request is still open, was merged, or was
1138
+ # closed without being merged.
1139
+ # @return [String]
1140
+ #
1141
+ # @!attribute [rw] merged_at
1142
+ # When it was merged. Present only when `state` is MERGED and the
1143
+ # provider reported the time.
1144
+ # @return [Time]
1145
+ #
1146
+ # @!attribute [rw] closed_at
1147
+ # When it was closed, merged or not. Absent while it is open.
1148
+ # @return [Time]
1149
+ #
1150
+ # @!attribute [rw] checked_at
1151
+ # When Continuum last read it from the provider.
1152
+ # @return [Time]
1153
+ #
1154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DeliveredChangeRequest AWS API Documentation
1155
+ #
1156
+ class DeliveredChangeRequest < Struct.new(
1157
+ :state,
1158
+ :merged_at,
1159
+ :closed_at,
1160
+ :checked_at)
1161
+ SENSITIVE = []
1162
+ include Aws::Structure
1163
+ end
1164
+
1165
+ # The conditions of a rule. All of them must be true for the rule to
1166
+ # match.
1167
+ #
1168
+ # @!attribute [rw] all_of
1169
+ # The conditions, from 1 to 20. All of them must be true for the rule
1170
+ # to match.
1171
+ # @return [Array<Types::Condition>]
1172
+ #
1173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DenyWhen AWS API Documentation
1174
+ #
1175
+ class DenyWhen < Struct.new(
1176
+ :all_of)
1177
+ SENSITIVE = []
1178
+ include Aws::Structure
1179
+ end
1180
+
756
1181
  # Identity only. Future providers may add union members without
757
1182
  # duplicating state.
758
1183
  #
@@ -767,11 +1192,17 @@ module Aws::Continuum
767
1192
  # request once it is opened.
768
1193
  # @return [Types::GitHubTarget]
769
1194
  #
1195
+ # @!attribute [rw] gitlab
1196
+ # The GitLab project the patch is delivered to, including the merge
1197
+ # request once it is opened.
1198
+ # @return [Types::GitLabTarget]
1199
+ #
770
1200
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DestinationTarget AWS API Documentation
771
1201
  #
772
1202
  class DestinationTarget < Struct.new(
773
1203
  :s3,
774
1204
  :github,
1205
+ :gitlab,
775
1206
  :unknown)
776
1207
  SENSITIVE = []
777
1208
  include Aws::Structure
@@ -779,6 +1210,7 @@ module Aws::Continuum
779
1210
 
780
1211
  class S3 < DestinationTarget; end
781
1212
  class Github < DestinationTarget; end
1213
+ class Gitlab < DestinationTarget; end
782
1214
  class Unknown < DestinationTarget; end
783
1215
  end
784
1216
 
@@ -819,12 +1251,24 @@ module Aws::Continuum
819
1251
  # Defaults to DISABLED.
820
1252
  # @return [String]
821
1253
  #
1254
+ # @!attribute [rw] focus_mode
1255
+ # Which findings Continuum pursues, by the severity reported when the
1256
+ # finding is created. Defaults to COMPREHENSIVE.
1257
+ # @return [String]
1258
+ #
1259
+ # @!attribute [rw] issue_budget
1260
+ # Caps the new issues each scan may start. Absent, or maxIssuesPerScan
1261
+ # 0, means no cap. A change takes effect at the next scan.
1262
+ # @return [Types::IssueBudget]
1263
+ #
822
1264
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/EnvironmentConfiguration AWS API Documentation
823
1265
  #
824
1266
  class EnvironmentConfiguration < Struct.new(
825
1267
  :network,
826
1268
  :scan_frequency,
827
- :patch_creation_policy)
1269
+ :patch_creation_policy,
1270
+ :focus_mode,
1271
+ :issue_budget)
828
1272
  SENSITIVE = []
829
1273
  include Aws::Structure
830
1274
  end
@@ -900,7 +1344,8 @@ module Aws::Continuum
900
1344
  # @return [String]
901
1345
  #
902
1346
  # @!attribute [rw] repository
903
- # Repository selected from that integration in owner/repository form.
1347
+ # Repository selected from that integration: owner/repository for
1348
+ # GitHub, or the project's full (possibly nested) path for GitLab.
904
1349
  # @return [String]
905
1350
  #
906
1351
  # @!attribute [rw] default_branch
@@ -1281,6 +1726,12 @@ module Aws::Continuum
1281
1726
  # The file the finding is about, when it has a code location.
1282
1727
  # @return [String]
1283
1728
  #
1729
+ # @!attribute [rw] not_pursued_reason
1730
+ # May be present when status is NOT\_PURSUED: why Continuum did not
1731
+ # pursue it. Only findings submitted with CreateCodeFinding are listed
1732
+ # when not pursued, so in practice FOCUS\_MODE.
1733
+ # @return [String]
1734
+ #
1284
1735
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/FindingSummary AWS API Documentation
1285
1736
  #
1286
1737
  class FindingSummary < Struct.new(
@@ -1304,7 +1755,8 @@ module Aws::Continuum
1304
1755
  :title,
1305
1756
  :severity,
1306
1757
  :category,
1307
- :file_path)
1758
+ :file_path,
1759
+ :not_pursued_reason)
1308
1760
  SENSITIVE = []
1309
1761
  include Aws::Structure
1310
1762
  end
@@ -1765,6 +2217,12 @@ module Aws::Continuum
1765
2217
  # discarding. Absent while the finding is still in flight.
1766
2218
  # @return [Time]
1767
2219
  #
2220
+ # @!attribute [rw] not_pursued_reason
2221
+ # May be present when status is NOT\_PURSUED: why Continuum did not
2222
+ # pursue it. Only findings submitted with CreateCodeFinding are
2223
+ # returned when not pursued, so in practice FOCUS\_MODE.
2224
+ # @return [String]
2225
+ #
1768
2226
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetCodeFindingOutput AWS API Documentation
1769
2227
  #
1770
2228
  class GetCodeFindingOutput < Struct.new(
@@ -1817,7 +2275,8 @@ module Aws::Continuum
1817
2275
  :discard_reasoning,
1818
2276
  :duplicate_of_issue_id,
1819
2277
  :created_issue_id,
1820
- :completed_at)
2278
+ :completed_at,
2279
+ :not_pursued_reason)
1821
2280
  SENSITIVE = []
1822
2281
  include Aws::Structure
1823
2282
  end
@@ -2279,6 +2738,15 @@ module Aws::Continuum
2279
2738
  # The timestamp when the integration was last updated.
2280
2739
  # @return [Time]
2281
2740
  #
2741
+ # @!attribute [rw] kms_key_id
2742
+ # Customer managed KMS key ID, if the integration was created with
2743
+ # one.
2744
+ # @return [String]
2745
+ #
2746
+ # @!attribute [rw] tags
2747
+ # The tags on the integration.
2748
+ # @return [Hash<String,String>]
2749
+ #
2282
2750
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetIntegrationOutput AWS API Documentation
2283
2751
  #
2284
2752
  class GetIntegrationOutput < Struct.new(
@@ -2288,38 +2756,111 @@ module Aws::Continuum
2288
2756
  :integration_type,
2289
2757
  :provider_details,
2290
2758
  :created_at,
2291
- :updated_at)
2759
+ :updated_at,
2760
+ :kms_key_id,
2761
+ :tags)
2292
2762
  SENSITIVE = []
2293
2763
  include Aws::Structure
2294
2764
  end
2295
2765
 
2296
- # Specifies the resource.
2766
+ # Input for `GetPackageDecision`.
2297
2767
  #
2298
- # @!attribute [rw] arn
2299
- # The ARN of a resource in the caller's account.
2768
+ # @!attribute [rw] decision_id
2769
+ # The ID of the decision, as returned by CreatePackageDecision.
2300
2770
  # @return [String]
2301
2771
  #
2302
- # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetResourcePolicyInput AWS API Documentation
2772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetPackageDecisionRequest AWS API Documentation
2303
2773
  #
2304
- class GetResourcePolicyInput < Struct.new(
2305
- :arn)
2774
+ class GetPackageDecisionRequest < Struct.new(
2775
+ :decision_id)
2306
2776
  SENSITIVE = []
2307
2777
  include Aws::Structure
2308
2778
  end
2309
2779
 
2310
- # Contains the resource policy.
2780
+ # Output for `GetPackageDecision`.
2311
2781
  #
2312
- # @!attribute [rw] arn
2313
- # The ARN of a Continuum resource that supports a resource policy.
2314
- # Collectors are the only supported resource type; other well-formed
2315
- # Continuum ARNs are rejected with ValidationException.
2782
+ # @!attribute [rw] decision_id
2783
+ # The ID of the decision.
2316
2784
  # @return [String]
2317
2785
  #
2318
- # @!attribute [rw] policy
2319
- # A resource policy in displayable JSON form.
2786
+ # @!attribute [rw] evaluated_at
2787
+ # The time the package was evaluated. Policy exceptions are applied
2788
+ # based on this time.
2789
+ # @return [Time]
2790
+ #
2791
+ # @!attribute [rw] completed_at
2792
+ # The time the decision was recorded.
2793
+ # @return [Time]
2794
+ #
2795
+ # @!attribute [rw] canonical_purl
2796
+ # The package URL (purl) that was evaluated, as accepted by the
2797
+ # service.
2320
2798
  # @return [String]
2321
2799
  #
2322
- # @!attribute [rw] revision_id
2800
+ # @!attribute [rw] evaluated_action
2801
+ # The result of policy evaluation: DENY when the malicious-package
2802
+ # baseline or a deny rule matched and no policy exception suppressed
2803
+ # it, otherwise ALLOW.
2804
+ # @return [String]
2805
+ #
2806
+ # @!attribute [rw] enforcement_action
2807
+ # The action the caller was told to take. It differs from
2808
+ # evaluatedAction only when enforcementMode is AUDIT.
2809
+ # @return [String]
2810
+ #
2811
+ # @!attribute [rw] enforcement_mode
2812
+ # The strongest enforcement mode among matches that a policy exception
2813
+ # didn't suppress: ENFORCE for the malicious-package baseline or an
2814
+ # enforced rule, AUDIT for an audit-mode rule. NONE when there is no
2815
+ # such match, including when policy exceptions suppressed every match.
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] reason
2819
+ # Why the decision was made.
2820
+ # @return [String]
2821
+ #
2822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetPackageDecisionResponse AWS API Documentation
2823
+ #
2824
+ class GetPackageDecisionResponse < Struct.new(
2825
+ :decision_id,
2826
+ :evaluated_at,
2827
+ :completed_at,
2828
+ :canonical_purl,
2829
+ :evaluated_action,
2830
+ :enforcement_action,
2831
+ :enforcement_mode,
2832
+ :reason)
2833
+ SENSITIVE = []
2834
+ include Aws::Structure
2835
+ end
2836
+
2837
+ # Specifies the resource.
2838
+ #
2839
+ # @!attribute [rw] arn
2840
+ # The ARN of a resource in the caller's account.
2841
+ # @return [String]
2842
+ #
2843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetResourcePolicyInput AWS API Documentation
2844
+ #
2845
+ class GetResourcePolicyInput < Struct.new(
2846
+ :arn)
2847
+ SENSITIVE = []
2848
+ include Aws::Structure
2849
+ end
2850
+
2851
+ # Contains the resource policy.
2852
+ #
2853
+ # @!attribute [rw] arn
2854
+ # The ARN of a Continuum resource that supports a resource policy.
2855
+ # Collectors are the only supported resource type; other well-formed
2856
+ # Continuum ARNs are rejected with ValidationException.
2857
+ # @return [String]
2858
+ #
2859
+ # @!attribute [rw] policy
2860
+ # A resource policy in displayable JSON form.
2861
+ # @return [String]
2862
+ #
2863
+ # @!attribute [rw] revision_id
2323
2864
  # Opaque optimistic-concurrency token for a resource policy.
2324
2865
  # @return [String]
2325
2866
  #
@@ -2333,29 +2874,240 @@ module Aws::Continuum
2333
2874
  include Aws::Structure
2334
2875
  end
2335
2876
 
2877
+ # Input for `GetSupplyChainManagedPolicy`.
2878
+ #
2879
+ # @!attribute [rw] id
2880
+ # The ID of the service-managed policy. ListSupplyChainPolicies
2881
+ # returns the IDs.
2882
+ # @return [String]
2883
+ #
2884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainManagedPolicyRequest AWS API Documentation
2885
+ #
2886
+ class GetSupplyChainManagedPolicyRequest < Struct.new(
2887
+ :id)
2888
+ SENSITIVE = []
2889
+ include Aws::Structure
2890
+ end
2891
+
2892
+ # Output for `GetSupplyChainManagedPolicy`.
2893
+ #
2894
+ # @!attribute [rw] id
2895
+ # The ID of the service-managed policy.
2896
+ # @return [String]
2897
+ #
2898
+ # @!attribute [rw] arn
2899
+ # The ARN of the service-managed policy.
2900
+ # @return [String]
2901
+ #
2902
+ # @!attribute [rw] managed_by
2903
+ # The AWS service that manages the policy, as a service principal.
2904
+ # @return [String]
2905
+ #
2906
+ # @!attribute [rw] policy
2907
+ # The name, description, and rules of the policy.
2908
+ # @return [Types::SupplyChainPolicy]
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainManagedPolicyResponse AWS API Documentation
2911
+ #
2912
+ class GetSupplyChainManagedPolicyResponse < Struct.new(
2913
+ :id,
2914
+ :arn,
2915
+ :managed_by,
2916
+ :policy)
2917
+ SENSITIVE = []
2918
+ include Aws::Structure
2919
+ end
2920
+
2921
+ # Input for `GetSupplyChainPolicyException`.
2922
+ #
2923
+ # @!attribute [rw] id
2924
+ # The ID of the policy exception.
2925
+ # @return [String]
2926
+ #
2927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicyExceptionRequest AWS API Documentation
2928
+ #
2929
+ class GetSupplyChainPolicyExceptionRequest < Struct.new(
2930
+ :id)
2931
+ SENSITIVE = []
2932
+ include Aws::Structure
2933
+ end
2934
+
2935
+ # Output for `GetSupplyChainPolicyException`.
2936
+ #
2937
+ # @!attribute [rw] id
2938
+ # The ID of the policy exception.
2939
+ # @return [String]
2940
+ #
2941
+ # @!attribute [rw] arn
2942
+ # The ARN of the policy exception.
2943
+ # @return [String]
2944
+ #
2945
+ # @!attribute [rw] exception
2946
+ # The definition of the policy exception.
2947
+ # @return [Types::SupplyChainPolicyException]
2948
+ #
2949
+ # @!attribute [rw] status
2950
+ # Computed from expiresAt at read time.
2951
+ # @return [String]
2952
+ #
2953
+ # @!attribute [rw] created_at
2954
+ # The time the policy exception was created.
2955
+ # @return [Time]
2956
+ #
2957
+ # @!attribute [rw] updated_at
2958
+ # The time the policy exception was last updated.
2959
+ # @return [Time]
2960
+ #
2961
+ # @!attribute [rw] tags
2962
+ # The tags on the policy exception.
2963
+ # @return [Hash<String,String>]
2964
+ #
2965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicyExceptionResponse AWS API Documentation
2966
+ #
2967
+ class GetSupplyChainPolicyExceptionResponse < Struct.new(
2968
+ :id,
2969
+ :arn,
2970
+ :exception,
2971
+ :status,
2972
+ :created_at,
2973
+ :updated_at,
2974
+ :tags)
2975
+ SENSITIVE = []
2976
+ include Aws::Structure
2977
+ end
2978
+
2979
+ # Input for `GetSupplyChainPolicy`.
2980
+ #
2981
+ # @!attribute [rw] id
2982
+ # The ID of the policy.
2983
+ # @return [String]
2984
+ #
2985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicyRequest AWS API Documentation
2986
+ #
2987
+ class GetSupplyChainPolicyRequest < Struct.new(
2988
+ :id)
2989
+ SENSITIVE = []
2990
+ include Aws::Structure
2991
+ end
2992
+
2993
+ # Output for `GetSupplyChainPolicy`.
2994
+ #
2995
+ # @!attribute [rw] id
2996
+ # The ID of the policy.
2997
+ # @return [String]
2998
+ #
2999
+ # @!attribute [rw] arn
3000
+ # The ARN of the policy.
3001
+ # @return [String]
3002
+ #
3003
+ # @!attribute [rw] policy
3004
+ # The name, description, and rules of the policy.
3005
+ # @return [Types::SupplyChainPolicy]
3006
+ #
3007
+ # @!attribute [rw] created_at
3008
+ # The time the policy was created.
3009
+ # @return [Time]
3010
+ #
3011
+ # @!attribute [rw] updated_at
3012
+ # The time the policy was last updated.
3013
+ # @return [Time]
3014
+ #
3015
+ # @!attribute [rw] tags
3016
+ # The tags on the policy.
3017
+ # @return [Hash<String,String>]
3018
+ #
3019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicyResponse AWS API Documentation
3020
+ #
3021
+ class GetSupplyChainPolicyResponse < Struct.new(
3022
+ :id,
3023
+ :arn,
3024
+ :policy,
3025
+ :created_at,
3026
+ :updated_at,
3027
+ :tags)
3028
+ SENSITIVE = []
3029
+ include Aws::Structure
3030
+ end
3031
+
3032
+ # Input for `GetVulnerability`.
3033
+ #
3034
+ # @!attribute [rw] vulnerability_id
3035
+ # The vulnerability ID, such as CVE-2024-1234 or an ID from
3036
+ # MandatoryBaselineEvidence.vulnerabilityIds.
3037
+ # @return [String]
3038
+ #
3039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetVulnerabilityRequest AWS API Documentation
3040
+ #
3041
+ class GetVulnerabilityRequest < Struct.new(
3042
+ :vulnerability_id)
3043
+ SENSITIVE = []
3044
+ include Aws::Structure
3045
+ end
3046
+
3047
+ # Output for `GetVulnerability`.
3048
+ #
3049
+ # @!attribute [rw] id
3050
+ # The vulnerability ID.
3051
+ # @return [String]
3052
+ #
3053
+ # @!attribute [rw] malicious
3054
+ # Whether Amazon Inspector classifies this vulnerability as malicious.
3055
+ # @return [Boolean]
3056
+ #
3057
+ # @!attribute [rw] severity
3058
+ # Amazon Inspector's severity rating.
3059
+ # @return [String]
3060
+ #
3061
+ # @!attribute [rw] analysis_state
3062
+ # Amazon Inspector's analysis state.
3063
+ # @return [String]
3064
+ #
3065
+ # @!attribute [rw] description
3066
+ # A description of the vulnerability.
3067
+ # @return [String]
3068
+ #
3069
+ # @!attribute [rw] cwes
3070
+ # The CWE numbers of the weaknesses behind the vulnerability.
3071
+ # @return [Array<Integer>]
3072
+ #
3073
+ # @!attribute [rw] advisory_urls
3074
+ # URLs of advisories that describe the vulnerability.
3075
+ # @return [Array<String>]
3076
+ #
3077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetVulnerabilityResponse AWS API Documentation
3078
+ #
3079
+ class GetVulnerabilityResponse < Struct.new(
3080
+ :id,
3081
+ :malicious,
3082
+ :severity,
3083
+ :analysis_state,
3084
+ :description,
3085
+ :cwes,
3086
+ :advisory_urls)
3087
+ SENSITIVE = []
3088
+ include Aws::Structure
3089
+ end
3090
+
2336
3091
  # Write-only OAuth credentials used to authorize a GitHub.com
2337
3092
  # integration. Not stored or returned after creation.
2338
3093
  #
2339
3094
  # @!attribute [rw] authorization_code
2340
- # The OAuth authorization code returned by GitHub after the user
3095
+ # OAuth authorization code returned by GitHub after the user
2341
3096
  # authorizes the application.
2342
3097
  # @return [String]
2343
3098
  #
2344
3099
  # @!attribute [rw] state
2345
- # The `state` returned by GitHub in the OAuth callback. It must be the
2346
- # state that StartIntegrationAuthorization returned to the same AWS
2347
- # account, and the authorization request must have sent that call's
2348
- # codeChallenge. The state can be redeemed once. A stage that enforces
2349
- # authorization sessions rejects a missing, expired, already used, or
2350
- # other-account state with ValidationException; restart the
2351
- # authorization with StartIntegrationAuthorization.
3100
+ # Opaque `state` echoed back by GitHub in its OAuth callback. Must
3101
+ # match the state that StartIntegrationAuthorization returned to the
3102
+ # same AWS account; the authorization request must have sent that
3103
+ # call's codeChallenge. The state can be redeemed once.
2352
3104
  # @return [String]
2353
3105
  #
2354
3106
  # @!attribute [rw] redirect_url
2355
- # The redirect URL used to obtain the authorization code. Must match
2356
- # one of the redirect URLs registered on the GitHub App. If omitted,
2357
- # the App's default redirect URL is used. Not stored or returned
2358
- # after creation.
3107
+ # Optional redirect URL used to obtain the authorization code. Must
3108
+ # match one of the redirect URLs registered on the GitHub App. If
3109
+ # omitted, the App's default redirect URL is used. Not stored or
3110
+ # returned.
2359
3111
  # @return [String]
2360
3112
  #
2361
3113
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GitHubAuthorizationConfiguration AWS API Documentation
@@ -2364,7 +3116,7 @@ module Aws::Continuum
2364
3116
  :authorization_code,
2365
3117
  :state,
2366
3118
  :redirect_url)
2367
- SENSITIVE = [:authorization_code, :state]
3119
+ SENSITIVE = [:authorization_code, :state, :redirect_url]
2368
3120
  include Aws::Structure
2369
3121
  end
2370
3122
 
@@ -2377,9 +3129,9 @@ module Aws::Continuum
2377
3129
  # @return [Types::GitHubAuthorizationConfiguration]
2378
3130
  #
2379
3131
  # @!attribute [rw] organization_name
2380
- # The name of the GitHub organization to associate with the
2381
- # integration. If not specified, the integration is associated with
2382
- # the authenticated user's personal account.
3132
+ # Optional name of the GitHub organization to associate with the
3133
+ # integration. If omitted, the integration is associated with the
3134
+ # authenticated user's personal account.
2383
3135
  # @return [String]
2384
3136
  #
2385
3137
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GitHubConfiguration AWS API Documentation
@@ -2439,8 +3191,7 @@ module Aws::Continuum
2439
3191
  # Configuration for a GitLab integration using a pasted access token.
2440
3192
  #
2441
3193
  # @!attribute [rw] instance_url
2442
- # The HTTPS base URL of the GitLab instance (gitlab.com or
2443
- # self-managed).
3194
+ # HTTPS base URL of the GitLab instance (gitlab.com or self-managed).
2444
3195
  # @return [String]
2445
3196
  #
2446
3197
  # @!attribute [rw] target_type
@@ -2448,14 +3199,12 @@ module Aws::Continuum
2448
3199
  # @return [String]
2449
3200
  #
2450
3201
  # @!attribute [rw] target_path
2451
- # The group or project path the integration targets.
3202
+ # Group or project path the integration targets.
2452
3203
  # @return [String]
2453
3204
  #
2454
3205
  # @!attribute [rw] access_token
2455
- # The GitLab access token (personal, group or project). Write-only;
2456
- # not stored or returned after creation. If the token carries the
2457
- # self-rotate scope, rotation is opted in and Continuum manages the
2458
- # token thereafter.
3206
+ # GitLab access token. Write-only; not stored or returned after
3207
+ # creation.
2459
3208
  # @return [String]
2460
3209
  #
2461
3210
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GitLabConfiguration AWS API Documentation
@@ -2507,7 +3256,41 @@ module Aws::Continuum
2507
3256
  include Aws::Structure
2508
3257
  end
2509
3258
 
2510
- # A summary of an integration returned in list responses.
3259
+ # The GitLab project a patch is delivered to, and the merge request that
3260
+ # carries it once opened.
3261
+ #
3262
+ # @!attribute [rw] project_path
3263
+ # The project's full path (for example `group/subgroup/project`) as
3264
+ # the Build recorded it.
3265
+ # @return [String]
3266
+ #
3267
+ # @!attribute [rw] merge_request_number
3268
+ # Project-scoped merge request number assigned by GitLab (the `!N` it
3269
+ # shows; its API calls it the IID).
3270
+ # @return [Integer]
3271
+ #
3272
+ # @!attribute [rw] merge_request_uri
3273
+ # Canonical HTTPS URL returned by GitLab for the opened merge request.
3274
+ # Absent until publication has returned a merge request.
3275
+ # @return [String]
3276
+ #
3277
+ # @!attribute [rw] head_sha
3278
+ # The head commit SHA of the merge request. Absent until the merge
3279
+ # request is opened.
3280
+ # @return [String]
3281
+ #
3282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GitLabTarget AWS API Documentation
3283
+ #
3284
+ class GitLabTarget < Struct.new(
3285
+ :project_path,
3286
+ :merge_request_number,
3287
+ :merge_request_uri,
3288
+ :head_sha)
3289
+ SENSITIVE = []
3290
+ include Aws::Structure
3291
+ end
3292
+
3293
+ # Summary of a Continuum integration returned in list responses.
2511
3294
  #
2512
3295
  # @!attribute [rw] integration_id
2513
3296
  # The unique identifier of the integration.
@@ -2537,6 +3320,11 @@ module Aws::Continuum
2537
3320
  # The timestamp when the integration was last updated.
2538
3321
  # @return [Time]
2539
3322
  #
3323
+ # @!attribute [rw] kms_key_id
3324
+ # ARN of the customer managed KMS key, if the integration was created
3325
+ # with one.
3326
+ # @return [String]
3327
+ #
2540
3328
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/IntegrationSummary AWS API Documentation
2541
3329
  #
2542
3330
  class IntegrationSummary < Struct.new(
@@ -2546,13 +3334,13 @@ module Aws::Continuum
2546
3334
  :integration_type,
2547
3335
  :provider_details,
2548
3336
  :created_at,
2549
- :updated_at)
3337
+ :updated_at,
3338
+ :kms_key_id)
2550
3339
  SENSITIVE = []
2551
3340
  include Aws::Structure
2552
3341
  end
2553
3342
 
2554
- # The request couldn't be processed because of an internal server
2555
- # issue. Try again later. If the problem persists, contact AWS Support.
3343
+ # An unexpected error occurred on the server. Try the request again.
2556
3344
  #
2557
3345
  # @!attribute [rw] message
2558
3346
  # Error description.
@@ -2689,6 +3477,29 @@ module Aws::Continuum
2689
3477
  include Aws::Structure
2690
3478
  end
2691
3479
 
3480
+ # Per-scan cap on new issues. When a scan produces more pursued findings
3481
+ # than the cap, Continuum starts issues for the highest-ranked findings
3482
+ # (severity, then CVSS base score) after the scan completes, and records
3483
+ # the rest as NOT\_PURSUED with notPursuedReason ISSUE\_BUDGET. Like
3484
+ # scan-produced findings not pursued because of the focus mode, those
3485
+ # findings are retained by the service but are not returned by
3486
+ # GetCodeFinding or ListCodeFindings. The cap applies only to findings a
3487
+ # scan produces, never to findings submitted with CreateCodeFinding. 0
3488
+ # removes the cap. The cap in force when a scan starts applies to that
3489
+ # scan; a change takes effect at the next scan.
3490
+ #
3491
+ # @!attribute [rw] max_issues_per_scan
3492
+ # Maximum new issues per scan, 1 to 1000. 0 removes the cap.
3493
+ # @return [Integer]
3494
+ #
3495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/IssueBudget AWS API Documentation
3496
+ #
3497
+ class IssueBudget < Struct.new(
3498
+ :max_issues_per_scan)
3499
+ SENSITIVE = []
3500
+ include Aws::Structure
3501
+ end
3502
+
2692
3503
  # Customer delivery of the patches Continuum produced for an issue,
2693
3504
  # summarized across the issue's PATCH artifacts when the issue is read.
2694
3505
  # Each artifact keeps its own `delivery.destination` with the full
@@ -2720,6 +3531,11 @@ module Aws::Continuum
2720
3531
  # Present only when failedCount is greater than zero.
2721
3532
  # @return [Array<String>]
2722
3533
  #
3534
+ # @!attribute [rw] skipped_reasons
3535
+ # Distinct modeled reasons of the skipped deliveries, in ascending
3536
+ # order. Absent when no skipped delivery has a reason.
3537
+ # @return [Array<String>]
3538
+ #
2723
3539
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/IssuePatchDelivery AWS API Documentation
2724
3540
  #
2725
3541
  class IssuePatchDelivery < Struct.new(
@@ -2727,7 +3543,8 @@ module Aws::Continuum
2727
3543
  :patch_count,
2728
3544
  :succeeded_count,
2729
3545
  :failed_count,
2730
- :failure_reasons)
3546
+ :failure_reasons,
3547
+ :skipped_reasons)
2731
3548
  SENSITIVE = []
2732
3549
  include Aws::Structure
2733
3550
  end
@@ -3168,6 +3985,51 @@ module Aws::Continuum
3168
3985
  include Aws::Structure
3169
3986
  end
3170
3987
 
3988
+ # Input for `ListDecisionEvidence`.
3989
+ #
3990
+ # @!attribute [rw] decision_id
3991
+ # The ID of the decision, as returned by CreatePackageDecision.
3992
+ # @return [String]
3993
+ #
3994
+ # @!attribute [rw] max_results
3995
+ # The maximum number of evidence items to return, from 1 to 100.
3996
+ # @return [Integer]
3997
+ #
3998
+ # @!attribute [rw] next_token
3999
+ # The token returned by a previous call, to get the next page of
4000
+ # evidence.
4001
+ # @return [String]
4002
+ #
4003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListDecisionEvidenceRequest AWS API Documentation
4004
+ #
4005
+ class ListDecisionEvidenceRequest < Struct.new(
4006
+ :decision_id,
4007
+ :max_results,
4008
+ :next_token)
4009
+ SENSITIVE = []
4010
+ include Aws::Structure
4011
+ end
4012
+
4013
+ # Output for `ListDecisionEvidence`.
4014
+ #
4015
+ # @!attribute [rw] evidence
4016
+ # The evidence recorded for the decision.
4017
+ # @return [Array<Types::DecisionEvidence>]
4018
+ #
4019
+ # @!attribute [rw] next_token
4020
+ # The token to pass in the next call to get the next page of evidence.
4021
+ # Absent when there is no more evidence.
4022
+ # @return [String]
4023
+ #
4024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListDecisionEvidenceResponse AWS API Documentation
4025
+ #
4026
+ class ListDecisionEvidenceResponse < Struct.new(
4027
+ :evidence,
4028
+ :next_token)
4029
+ SENSITIVE = []
4030
+ include Aws::Structure
4031
+ end
4032
+
3171
4033
  # Specifies pagination parameters for listing environments.
3172
4034
  #
3173
4035
  # Response-filtering justification: filtering is intentionally omitted
@@ -3225,12 +4087,12 @@ module Aws::Continuum
3225
4087
  # Specifies pagination parameters for listing integrations.
3226
4088
  #
3227
4089
  # @!attribute [rw] max_results
3228
- # The maximum number of results to return in a single call.
4090
+ # Maximum number of integrations to return per page.
3229
4091
  # @return [Integer]
3230
4092
  #
3231
4093
  # @!attribute [rw] next_token
3232
- # A pagination token returned by a previous call. Set to null for the
3233
- # first request; use the returned token for subsequent calls.
4094
+ # Pagination token returned by a previous call. Omit for the first
4095
+ # request.
3234
4096
  # @return [String]
3235
4097
  #
3236
4098
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListIntegrationsInput AWS API Documentation
@@ -3251,8 +4113,8 @@ module Aws::Continuum
3251
4113
  # @return [Array<Types::IntegrationSummary>]
3252
4114
  #
3253
4115
  # @!attribute [rw] next_token
3254
- # A pagination token to retrieve the next page of results. Absent when
3255
- # there are no more results.
4116
+ # Pagination token for the next page. Absent when there are no more
4117
+ # results.
3256
4118
  # @return [String]
3257
4119
  #
3258
4120
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListIntegrationsOutput AWS API Documentation
@@ -3264,31 +4126,341 @@ module Aws::Continuum
3264
4126
  include Aws::Structure
3265
4127
  end
3266
4128
 
3267
- # Projected content for a PATCH artifact: the remediation patch for one
3268
- # repository, with the descriptors needed to verify and apply it and the
3269
- # state of its delivery to the customer's own bucket or repository.
4129
+ # Input for `ListPackageDecisions`.
3270
4130
  #
3271
- # @!attribute [rw] patch
3272
- # The patch exactly as stored, unmodified. Control Plane accepted it
3273
- # only as a text unified diff, so `git apply` applies it.
3274
- # @return [String]
4131
+ # @!attribute [rw] completed_after
4132
+ # Only return decisions completed at or after this time.
4133
+ # @return [Time]
3275
4134
  #
3276
- # @!attribute [rw] format
3277
- # The patch's wire format, read from the patch itself, which
3278
- # determines how to apply it. Absent when the patch starts with
3279
- # neither a git mailbox header nor a `diff --git` header.
3280
- # @return [String]
4135
+ # @!attribute [rw] completed_before
4136
+ # Only return decisions completed before this time.
4137
+ # @return [Time]
3281
4138
  #
3282
- # @!attribute [rw] repository_name
3283
- # The repository the patch applies to, as named in the source snapshot
3284
- # it was generated against.
4139
+ # @!attribute [rw] max_results
4140
+ # The maximum number of decisions to return, from 1 to 100.
4141
+ # @return [Integer]
4142
+ #
4143
+ # @!attribute [rw] next_token
4144
+ # The token returned by a previous call, to get the next page of
4145
+ # decisions.
3285
4146
  # @return [String]
3286
4147
  #
3287
- # @!attribute [rw] patch_sha_256
3288
- # SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by
3289
- # Control Plane when it stored the patch.
4148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListPackageDecisionsRequest AWS API Documentation
3290
4149
  #
3291
- # Lets a caller confirm the patch it applies is byte-for-byte the one
4150
+ class ListPackageDecisionsRequest < Struct.new(
4151
+ :completed_after,
4152
+ :completed_before,
4153
+ :max_results,
4154
+ :next_token)
4155
+ SENSITIVE = []
4156
+ include Aws::Structure
4157
+ end
4158
+
4159
+ # Output for `ListPackageDecisions`.
4160
+ #
4161
+ # @!attribute [rw] decisions
4162
+ # The decisions, newest first.
4163
+ # @return [Array<Types::PackageDecisionSummary>]
4164
+ #
4165
+ # @!attribute [rw] next_token
4166
+ # The token to pass in the next call to get the next page of
4167
+ # decisions. Absent when there are no more decisions.
4168
+ # @return [String]
4169
+ #
4170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListPackageDecisionsResponse AWS API Documentation
4171
+ #
4172
+ class ListPackageDecisionsResponse < Struct.new(
4173
+ :decisions,
4174
+ :next_token)
4175
+ SENSITIVE = []
4176
+ include Aws::Structure
4177
+ end
4178
+
4179
+ # Input for `ListSupplyChainPolicies`.
4180
+ #
4181
+ # @!attribute [rw] policy_type
4182
+ # Filters the response by policy ownership. When omitted, both
4183
+ # customer-managed and service-managed policies are returned.
4184
+ # @return [String]
4185
+ #
4186
+ # @!attribute [rw] max_results
4187
+ # The maximum number of policies to return, from 1 to 100.
4188
+ # @return [Integer]
4189
+ #
4190
+ # @!attribute [rw] next_token
4191
+ # The token returned by a previous call, to get the next page of
4192
+ # policies.
4193
+ # @return [String]
4194
+ #
4195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPoliciesRequest AWS API Documentation
4196
+ #
4197
+ class ListSupplyChainPoliciesRequest < Struct.new(
4198
+ :policy_type,
4199
+ :max_results,
4200
+ :next_token)
4201
+ SENSITIVE = []
4202
+ include Aws::Structure
4203
+ end
4204
+
4205
+ # Output for `ListSupplyChainPolicies`.
4206
+ #
4207
+ # @!attribute [rw] policies
4208
+ # The policies, one entry per policy.
4209
+ # @return [Array<Types::PolicyListEntry>]
4210
+ #
4211
+ # @!attribute [rw] next_token
4212
+ # The token to pass in the next call to get the next page of policies.
4213
+ # Absent when there are no more policies.
4214
+ # @return [String]
4215
+ #
4216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPoliciesResponse AWS API Documentation
4217
+ #
4218
+ class ListSupplyChainPoliciesResponse < Struct.new(
4219
+ :policies,
4220
+ :next_token)
4221
+ SENSITIVE = []
4222
+ include Aws::Structure
4223
+ end
4224
+
4225
+ # Input for `ListSupplyChainPolicyExceptions`.
4226
+ #
4227
+ # @!attribute [rw] max_results
4228
+ # The maximum number of policy exceptions to return, from 1 to 100.
4229
+ # @return [Integer]
4230
+ #
4231
+ # @!attribute [rw] next_token
4232
+ # The token returned by a previous call, to get the next page of
4233
+ # policy exceptions.
4234
+ # @return [String]
4235
+ #
4236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPolicyExceptionsRequest AWS API Documentation
4237
+ #
4238
+ class ListSupplyChainPolicyExceptionsRequest < Struct.new(
4239
+ :max_results,
4240
+ :next_token)
4241
+ SENSITIVE = []
4242
+ include Aws::Structure
4243
+ end
4244
+
4245
+ # Output for `ListSupplyChainPolicyExceptions`.
4246
+ #
4247
+ # @!attribute [rw] exceptions
4248
+ # The policy exceptions.
4249
+ # @return [Array<Types::PolicyExceptionSummary>]
4250
+ #
4251
+ # @!attribute [rw] next_token
4252
+ # The token to pass in the next call to get the next page of policy
4253
+ # exceptions. Absent when there are no more policy exceptions.
4254
+ # @return [String]
4255
+ #
4256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPolicyExceptionsResponse AWS API Documentation
4257
+ #
4258
+ class ListSupplyChainPolicyExceptionsResponse < Struct.new(
4259
+ :exceptions,
4260
+ :next_token)
4261
+ SENSITIVE = []
4262
+ include Aws::Structure
4263
+ end
4264
+
4265
+ # @!attribute [rw] resource_arn
4266
+ # The ARN of the resource whose tags to return.
4267
+ # @return [String]
4268
+ #
4269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListTagsForResourceInput AWS API Documentation
4270
+ #
4271
+ class ListTagsForResourceInput < Struct.new(
4272
+ :resource_arn)
4273
+ SENSITIVE = []
4274
+ include Aws::Structure
4275
+ end
4276
+
4277
+ # @!attribute [rw] tags
4278
+ # The tags on the resource, as a map of tag keys to tag values.
4279
+ # @return [Hash<String,String>]
4280
+ #
4281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListTagsForResourceOutput AWS API Documentation
4282
+ #
4283
+ class ListTagsForResourceOutput < Struct.new(
4284
+ :tags)
4285
+ SENSITIVE = []
4286
+ include Aws::Structure
4287
+ end
4288
+
4289
+ # Metadata for a read-only policy managed by an AWS service.
4290
+ #
4291
+ # @!attribute [rw] id
4292
+ # The ID of the service-managed policy.
4293
+ # @return [String]
4294
+ #
4295
+ # @!attribute [rw] policy_type
4296
+ # Identifies this entry as a service-managed policy.
4297
+ # @return [String]
4298
+ #
4299
+ # @!attribute [rw] arn
4300
+ # The ARN of the service-managed policy.
4301
+ # @return [String]
4302
+ #
4303
+ # @!attribute [rw] managed_by
4304
+ # The AWS service that manages the policy, as a service principal.
4305
+ # @return [String]
4306
+ #
4307
+ # @!attribute [rw] name
4308
+ # The display name of the policy.
4309
+ # @return [String]
4310
+ #
4311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ManagedPolicySummary AWS API Documentation
4312
+ #
4313
+ class ManagedPolicySummary < Struct.new(
4314
+ :id,
4315
+ :policy_type,
4316
+ :arn,
4317
+ :managed_by,
4318
+ :name)
4319
+ SENSITIVE = []
4320
+ include Aws::Structure
4321
+ end
4322
+
4323
+ # Evidence that the service-managed malicious-package baseline matched
4324
+ # the package.
4325
+ #
4326
+ # @!attribute [rw] baseline_arn
4327
+ # The ARN of the service-managed policy that matched.
4328
+ # @return [String]
4329
+ #
4330
+ # @!attribute [rw] vulnerability_ids
4331
+ # The vulnerability IDs that Amazon Inspector associated with the
4332
+ # package at evaluation time, returned unchanged. The list doesn't
4333
+ # say which ID caused the malicious verdict. Pass any of them to
4334
+ # GetVulnerability.
4335
+ # @return [Array<String>]
4336
+ #
4337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/MandatoryBaselineEvidence AWS API Documentation
4338
+ #
4339
+ class MandatoryBaselineEvidence < Struct.new(
4340
+ :baseline_arn,
4341
+ :vulnerability_ids)
4342
+ SENSITIVE = []
4343
+ include Aws::Structure
4344
+ end
4345
+
4346
+ # A package decision returned by ListPackageDecisions.
4347
+ #
4348
+ # @!attribute [rw] decision_id
4349
+ # The ID of the decision.
4350
+ # @return [String]
4351
+ #
4352
+ # @!attribute [rw] evaluated_at
4353
+ # The time the package was evaluated. Policy exceptions are applied
4354
+ # based on this time.
4355
+ # @return [Time]
4356
+ #
4357
+ # @!attribute [rw] completed_at
4358
+ # The time the decision was recorded.
4359
+ # @return [Time]
4360
+ #
4361
+ # @!attribute [rw] canonical_purl
4362
+ # The package URL (purl) that was evaluated, as accepted by the
4363
+ # service.
4364
+ # @return [String]
4365
+ #
4366
+ # @!attribute [rw] evaluated_action
4367
+ # The result of policy evaluation: DENY when the malicious-package
4368
+ # baseline or a deny rule matched and no policy exception suppressed
4369
+ # it, otherwise ALLOW.
4370
+ # @return [String]
4371
+ #
4372
+ # @!attribute [rw] enforcement_action
4373
+ # The action the caller was told to take. It differs from
4374
+ # evaluatedAction only when enforcementMode is AUDIT.
4375
+ # @return [String]
4376
+ #
4377
+ # @!attribute [rw] enforcement_mode
4378
+ # The strongest enforcement mode among matches that a policy exception
4379
+ # didn't suppress: ENFORCE for the malicious-package baseline or an
4380
+ # enforced rule, AUDIT for an audit-mode rule. NONE when there is no
4381
+ # such match, including when policy exceptions suppressed every match.
4382
+ # @return [String]
4383
+ #
4384
+ # @!attribute [rw] reason
4385
+ # Why the decision was made.
4386
+ # @return [String]
4387
+ #
4388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PackageDecisionSummary AWS API Documentation
4389
+ #
4390
+ class PackageDecisionSummary < Struct.new(
4391
+ :decision_id,
4392
+ :evaluated_at,
4393
+ :completed_at,
4394
+ :canonical_purl,
4395
+ :evaluated_action,
4396
+ :enforcement_action,
4397
+ :enforcement_mode,
4398
+ :reason)
4399
+ SENSITIVE = []
4400
+ include Aws::Structure
4401
+ end
4402
+
4403
+ # Identifies a package or a set of versions of a package. The ecosystem
4404
+ # and name are required; the version members narrow the match when
4405
+ # present. Omitting both version members matches every version.
4406
+ #
4407
+ # @!attribute [rw] ecosystem
4408
+ # The package ecosystem, such as `npm` or `pypi`.
4409
+ # @return [String]
4410
+ #
4411
+ # @!attribute [rw] name
4412
+ # The package name, as used in its ecosystem.
4413
+ # @return [String]
4414
+ #
4415
+ # @!attribute [rw] version
4416
+ # Exact version. Mutually exclusive with versionRange, validated
4417
+ # server-side.
4418
+ # @return [String]
4419
+ #
4420
+ # @!attribute [rw] version_range
4421
+ # A version range as one or more comparisons separated by commas, such
4422
+ # as `>=1.0, <2.0`. Each comparison is `=`, `>`, `>=`, `<`, or `<=`
4423
+ # followed by a version in the ecosystem's own format. Ecosystem
4424
+ # shorthands such as `^1.0` or `~=1.2` aren't accepted. Mutually
4425
+ # exclusive with version.
4426
+ # @return [String]
4427
+ #
4428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PackageIdentity AWS API Documentation
4429
+ #
4430
+ class PackageIdentity < Struct.new(
4431
+ :ecosystem,
4432
+ :name,
4433
+ :version,
4434
+ :version_range)
4435
+ SENSITIVE = []
4436
+ include Aws::Structure
4437
+ end
4438
+
4439
+ # Projected content for a PATCH artifact: the remediation patch for one
4440
+ # repository, with the descriptors needed to verify and apply it and the
4441
+ # state of its delivery to the customer's own bucket or repository.
4442
+ #
4443
+ # @!attribute [rw] patch
4444
+ # The patch exactly as stored, unmodified. Control Plane accepted it
4445
+ # only as a text unified diff, so `git apply` applies it.
4446
+ # @return [String]
4447
+ #
4448
+ # @!attribute [rw] format
4449
+ # The patch's wire format, read from the patch itself, which
4450
+ # determines how to apply it. Absent when the patch starts with
4451
+ # neither a git mailbox header nor a `diff --git` header.
4452
+ # @return [String]
4453
+ #
4454
+ # @!attribute [rw] repository_name
4455
+ # The repository the patch applies to, as named in the source snapshot
4456
+ # it was generated against.
4457
+ # @return [String]
4458
+ #
4459
+ # @!attribute [rw] patch_sha_256
4460
+ # SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by
4461
+ # Control Plane when it stored the patch.
4462
+ #
4463
+ # Lets a caller confirm the patch it applies is byte-for-byte the one
3292
4464
  # that was reviewed. Computed over the patch bytes, so it is
3293
4465
  # verifiable against `patch` without trusting this value.
3294
4466
  # @return [String]
@@ -3330,55 +4502,235 @@ module Aws::Continuum
3330
4502
  # before a destination was known.
3331
4503
  # @return [Types::DestinationTarget]
3332
4504
  #
3333
- # @!attribute [rw] updated_at
3334
- # When the delivery status last changed.
3335
- # @return [Time]
4505
+ # @!attribute [rw] updated_at
4506
+ # When the delivery status last changed.
4507
+ # @return [Time]
4508
+ #
4509
+ # @!attribute [rw] change_request
4510
+ # The pull request (GitHub) or merge request (GitLab) this patch was
4511
+ # delivered as, as Continuum last read it from the provider. Absent
4512
+ # until Continuum first reads it, and for deliveries that are not a
4513
+ # pull or merge request.
4514
+ # @return [Types::DeliveredChangeRequest]
4515
+ #
4516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PatchDelivery AWS API Documentation
4517
+ #
4518
+ class PatchDelivery < Struct.new(
4519
+ :status,
4520
+ :target,
4521
+ :updated_at,
4522
+ :change_request)
4523
+ SENSITIVE = []
4524
+ include Aws::Structure
4525
+ end
4526
+
4527
+ # Validation's result for one finding within a multi-finding bundle.
4528
+ #
4529
+ # @!attribute [rw] finding_id
4530
+ # The finding assessed.
4531
+ # @return [String]
4532
+ #
4533
+ # @!attribute [rw] exploitable
4534
+ # Exploitability verdict for this finding.
4535
+ # @return [String]
4536
+ #
4537
+ # @!attribute [rw] confidence
4538
+ # Confidence in this finding's verdict. Absent when out of range.
4539
+ # @return [Float]
4540
+ #
4541
+ # @!attribute [rw] flow_verdicts
4542
+ # Per-flow verdicts recorded for this finding.
4543
+ # @return [Array<Types::FlowVerdict>]
4544
+ #
4545
+ # @!attribute [rw] reasoning_chain
4546
+ # Reasoning chain recorded for this finding.
4547
+ # @return [Array<Types::ReasoningStep>]
4548
+ #
4549
+ # @!attribute [rw] exploit_artifact
4550
+ # Exploit artifact produced for this finding, when there was one.
4551
+ # @return [Types::ValidationExploitArtifact]
4552
+ #
4553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PerFindingResult AWS API Documentation
4554
+ #
4555
+ class PerFindingResult < Struct.new(
4556
+ :finding_id,
4557
+ :exploitable,
4558
+ :confidence,
4559
+ :flow_verdicts,
4560
+ :reasoning_chain,
4561
+ :exploit_artifact)
4562
+ SENSITIVE = []
4563
+ include Aws::Structure
4564
+ end
4565
+
4566
+ # Evidence that a policy exception applied to the decision.
4567
+ #
4568
+ # @!attribute [rw] exception_arn
4569
+ # The ARN of the policy exception.
4570
+ # @return [String]
4571
+ #
4572
+ # @!attribute [rw] policy_arn
4573
+ # The ARN of the policy that the exception applies to.
4574
+ # @return [String]
4575
+ #
4576
+ # @!attribute [rw] rule_ids
4577
+ # The IDs of the rules that the exception suppressed.
4578
+ # @return [Array<String>]
4579
+ #
4580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PolicyExceptionEvidence AWS API Documentation
4581
+ #
4582
+ class PolicyExceptionEvidence < Struct.new(
4583
+ :exception_arn,
4584
+ :policy_arn,
4585
+ :rule_ids)
4586
+ SENSITIVE = []
4587
+ include Aws::Structure
4588
+ end
4589
+
4590
+ # Metadata returned by ListSupplyChainPolicyExceptions. Use
4591
+ # GetSupplyChainPolicyException to retrieve package scope and
4592
+ # justification.
4593
+ #
4594
+ # @!attribute [rw] id
4595
+ # The ID of the policy exception.
4596
+ # @return [String]
4597
+ #
4598
+ # @!attribute [rw] arn
4599
+ # The ARN of the policy exception.
4600
+ # @return [String]
4601
+ #
4602
+ # @!attribute [rw] name
4603
+ # The display name of the policy exception.
4604
+ # @return [String]
4605
+ #
4606
+ # @!attribute [rw] policy_arn
4607
+ # The ARN of the policy that the exception applies to.
4608
+ # @return [String]
4609
+ #
4610
+ # @!attribute [rw] rule_ids
4611
+ # The IDs of the rules that the exception suppresses.
4612
+ # @return [Array<String>]
4613
+ #
4614
+ # @!attribute [rw] status
4615
+ # Computed from expiresAt at read time.
4616
+ # @return [String]
4617
+ #
4618
+ # @!attribute [rw] expires_at
4619
+ # The time the policy exception expires.
4620
+ # @return [Time]
4621
+ #
4622
+ # @!attribute [rw] created_at
4623
+ # The time the policy exception was created.
4624
+ # @return [Time]
4625
+ #
4626
+ # @!attribute [rw] updated_at
4627
+ # The time the policy exception was last updated.
4628
+ # @return [Time]
4629
+ #
4630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PolicyExceptionSummary AWS API Documentation
4631
+ #
4632
+ class PolicyExceptionSummary < Struct.new(
4633
+ :id,
4634
+ :arn,
4635
+ :name,
4636
+ :policy_arn,
4637
+ :rule_ids,
4638
+ :status,
4639
+ :expires_at,
4640
+ :created_at,
4641
+ :updated_at)
4642
+ SENSITIVE = []
4643
+ include Aws::Structure
4644
+ end
4645
+
4646
+ # One customer-owned or service-managed policy returned by the list
4647
+ # operation.
4648
+ #
4649
+ # @note PolicyListEntry is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PolicyListEntry corresponding to the set member.
4650
+ #
4651
+ # @!attribute [rw] policy
4652
+ # A customer-managed policy.
4653
+ # @return [Types::PolicySummary]
4654
+ #
4655
+ # @!attribute [rw] managed_policy
4656
+ # A service-managed policy.
4657
+ # @return [Types::ManagedPolicySummary]
4658
+ #
4659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PolicyListEntry AWS API Documentation
4660
+ #
4661
+ class PolicyListEntry < Struct.new(
4662
+ :policy,
4663
+ :managed_policy,
4664
+ :unknown)
4665
+ SENSITIVE = []
4666
+ include Aws::Structure
4667
+ include Aws::Structure::Union
4668
+
4669
+ class Policy < PolicyListEntry; end
4670
+ class ManagedPolicy < PolicyListEntry; end
4671
+ class Unknown < PolicyListEntry; end
4672
+ end
4673
+
4674
+ # Evidence that a rule in one of your policies matched the package.
4675
+ #
4676
+ # @!attribute [rw] policy_arn
4677
+ # The ARN of the policy.
4678
+ # @return [String]
3336
4679
  #
3337
- # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PatchDelivery AWS API Documentation
4680
+ # @!attribute [rw] rule_id
4681
+ # The ID of the rule that matched.
4682
+ # @return [String]
3338
4683
  #
3339
- class PatchDelivery < Struct.new(
3340
- :status,
3341
- :target,
3342
- :updated_at)
4684
+ # @!attribute [rw] enforcement_mode
4685
+ # The enforcement mode of the rule.
4686
+ # @return [String]
4687
+ #
4688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PolicyRuleMatchEvidence AWS API Documentation
4689
+ #
4690
+ class PolicyRuleMatchEvidence < Struct.new(
4691
+ :policy_arn,
4692
+ :rule_id,
4693
+ :enforcement_mode)
3343
4694
  SENSITIVE = []
3344
4695
  include Aws::Structure
3345
4696
  end
3346
4697
 
3347
- # Validation's result for one finding within a multi-finding bundle.
4698
+ # Metadata returned by ListSupplyChainPolicies. Use GetSupplyChainPolicy
4699
+ # to retrieve rules and description.
3348
4700
  #
3349
- # @!attribute [rw] finding_id
3350
- # The finding assessed.
4701
+ # @!attribute [rw] id
4702
+ # The ID of the policy.
3351
4703
  # @return [String]
3352
4704
  #
3353
- # @!attribute [rw] exploitable
3354
- # Exploitability verdict for this finding.
4705
+ # @!attribute [rw] policy_type
4706
+ # Identifies this entry as a customer-managed policy.
3355
4707
  # @return [String]
3356
4708
  #
3357
- # @!attribute [rw] confidence
3358
- # Confidence in this finding's verdict. Absent when out of range.
3359
- # @return [Float]
4709
+ # @!attribute [rw] arn
4710
+ # The ARN of the policy.
4711
+ # @return [String]
3360
4712
  #
3361
- # @!attribute [rw] flow_verdicts
3362
- # Per-flow verdicts recorded for this finding.
3363
- # @return [Array<Types::FlowVerdict>]
4713
+ # @!attribute [rw] name
4714
+ # The display name of the policy.
4715
+ # @return [String]
3364
4716
  #
3365
- # @!attribute [rw] reasoning_chain
3366
- # Reasoning chain recorded for this finding.
3367
- # @return [Array<Types::ReasoningStep>]
4717
+ # @!attribute [rw] created_at
4718
+ # The time the policy was created.
4719
+ # @return [Time]
3368
4720
  #
3369
- # @!attribute [rw] exploit_artifact
3370
- # Exploit artifact produced for this finding, when there was one.
3371
- # @return [Types::ValidationExploitArtifact]
4721
+ # @!attribute [rw] updated_at
4722
+ # The time the policy was last updated.
4723
+ # @return [Time]
3372
4724
  #
3373
- # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PerFindingResult AWS API Documentation
4725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/PolicySummary AWS API Documentation
3374
4726
  #
3375
- class PerFindingResult < Struct.new(
3376
- :finding_id,
3377
- :exploitable,
3378
- :confidence,
3379
- :flow_verdicts,
3380
- :reasoning_chain,
3381
- :exploit_artifact)
4727
+ class PolicySummary < Struct.new(
4728
+ :id,
4729
+ :policy_type,
4730
+ :arn,
4731
+ :name,
4732
+ :created_at,
4733
+ :updated_at)
3382
4734
  SENSITIVE = []
3383
4735
  include Aws::Structure
3384
4736
  end
@@ -3482,8 +4834,8 @@ module Aws::Continuum
3482
4834
  include Aws::Structure
3483
4835
  end
3484
4836
 
3485
- # Provider-specific configuration for creating an integration. Only one
3486
- # member may be specified.
4837
+ # Provider-specific configuration for a Continuum integration. Exactly
4838
+ # one member is set.
3487
4839
  #
3488
4840
  # @note ProviderConfiguration is a union - when making an API calls you must set exactly one of the members.
3489
4841
  #
@@ -3516,7 +4868,7 @@ module Aws::Continuum
3516
4868
  class Unknown < ProviderConfiguration; end
3517
4869
  end
3518
4870
 
3519
- # Provider-specific details for an integration. Only one member will be
4871
+ # Provider-specific details for an integration. Exactly one member is
3520
4872
  # present.
3521
4873
  #
3522
4874
  # @note ProviderDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ProviderDetails corresponding to the set member.
@@ -3680,11 +5032,11 @@ module Aws::Continuum
3680
5032
  #
3681
5033
  class RemoveKubernetesClusterRole < Aws::EmptyStructure; end
3682
5034
 
3683
- # The specified resource was not found. Verify that the resource
3684
- # identifier is correct and that the resource exists.
5035
+ # The resource you requested doesn't exist. Check the identifier and
5036
+ # try again.
3685
5037
  #
3686
5038
  # @!attribute [rw] message
3687
- # Description of the resource that was not found.
5039
+ # Error description.
3688
5040
  # @return [String]
3689
5041
  #
3690
5042
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ResourceNotFoundException AWS API Documentation
@@ -3695,6 +5047,34 @@ module Aws::Continuum
3695
5047
  include Aws::Structure
3696
5048
  end
3697
5049
 
5050
+ # A single deny rule. The rule matches a package when all of its
5051
+ # conditions are true. When several rules match, the strongest
5052
+ # enforcement mode wins.
5053
+ #
5054
+ # @!attribute [rw] rule_id
5055
+ # The identifier of the rule, unique within the policy. Policy
5056
+ # exceptions and decision evidence refer to rules by this ID.
5057
+ # @return [String]
5058
+ #
5059
+ # @!attribute [rw] enforcement_mode
5060
+ # What happens when the rule matches. ENFORCE denies the package.
5061
+ # AUDIT records the match and allows the package.
5062
+ # @return [String]
5063
+ #
5064
+ # @!attribute [rw] deny_when
5065
+ # The conditions that must all be true for the rule to match.
5066
+ # @return [Types::DenyWhen]
5067
+ #
5068
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/Rule AWS API Documentation
5069
+ #
5070
+ class Rule < Struct.new(
5071
+ :rule_id,
5072
+ :enforcement_mode,
5073
+ :deny_when)
5074
+ SENSITIVE = []
5075
+ include Aws::Structure
5076
+ end
5077
+
3698
5078
  # Configuration for a customer-managed S3 integration.
3699
5079
  #
3700
5080
  # @!attribute [rw] bucket
@@ -3702,11 +5082,12 @@ module Aws::Continuum
3702
5082
  # @return [String]
3703
5083
  #
3704
5084
  # @!attribute [rw] role_arn
3705
- # Role Continuum will assume to read from the source bucket.
5085
+ # IAM role Continuum assumes to read from the source bucket.
3706
5086
  # @return [String]
3707
5087
  #
3708
5088
  # @!attribute [rw] external_id
3709
- # Caller-provided external ID required by the role trust policy.
5089
+ # Caller-provided external ID required by the role's trust policy.
5090
+ # Sensitive; never returned on read operations.
3710
5091
  # @return [String]
3711
5092
  #
3712
5093
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/S3Configuration AWS API Documentation
@@ -3720,15 +5101,15 @@ module Aws::Continuum
3720
5101
  end
3721
5102
 
3722
5103
  # Public details for a customer-managed S3 integration. The sensitive
3723
- # external ID is intentionally omitted.
5104
+ # external ID is omitted.
3724
5105
  #
3725
5106
  # @!attribute [rw] bucket
3726
5107
  # Customer-managed S3 bucket name.
3727
5108
  # @return [String]
3728
5109
  #
3729
5110
  # @!attribute [rw] role_arn
3730
- # IAM role assumed by Continuum to read a customer-managed S3
3731
- # integration.
5111
+ # IAM role Continuum assumes to read from a customer-managed S3
5112
+ # bucket.
3732
5113
  # @return [String]
3733
5114
  #
3734
5115
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/S3Details AWS API Documentation
@@ -3765,19 +5146,19 @@ module Aws::Continuum
3765
5146
  include Aws::Structure
3766
5147
  end
3767
5148
 
3768
- # The request would exceed a service quota. Review your quota and
3769
- # request an increase if needed.
5149
+ # The request would exceed a service quota. Request a quota increase or
5150
+ # reduce your usage, then try again.
3770
5151
  #
3771
5152
  # @!attribute [rw] message
3772
- # Description of the quota that was exceeded.
5153
+ # Error description.
3773
5154
  # @return [String]
3774
5155
  #
3775
5156
  # @!attribute [rw] quota_code
3776
- # The quota code for the exceeded limit.
5157
+ # Code identifying the quota that would be exceeded.
3777
5158
  # @return [String]
3778
5159
  #
3779
5160
  # @!attribute [rw] service_code
3780
- # The service code for the exceeded limit.
5161
+ # Code identifying the service that owns the quota.
3781
5162
  # @return [String]
3782
5163
  #
3783
5164
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ServiceQuotaExceededException AWS API Documentation
@@ -4108,16 +5489,13 @@ module Aws::Continuum
4108
5489
  # integration will use.
4109
5490
  #
4110
5491
  # @!attribute [rw] provider_type
4111
- # The provider to authorize. Only GITHUB is supported.
5492
+ # Provider to authorize.
4112
5493
  # @return [String]
4113
5494
  #
4114
5495
  # @!attribute [rw] name
4115
- # The name the integration will be created with. When specified, the
4116
- # request fails with ConflictException if an integration with this
4117
- # name already exists in the account, before the caller leaves for the
4118
- # provider. The name is only checked: it is not reserved, stored, or
4119
- # authorized. CreateIntegration requires its own name, checks it
4120
- # again, and may use a different one.
5496
+ # Optional name the resulting integration will be created with. When
5497
+ # set, the service pre-reserves the name against the forwarded
5498
+ # customer account.
4121
5499
  # @return [String]
4122
5500
  #
4123
5501
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/StartIntegrationAuthorizationInput AWS API Documentation
@@ -4132,24 +5510,24 @@ module Aws::Continuum
4132
5510
  # Contains the values to send to the provider's authorization endpoint.
4133
5511
  #
4134
5512
  # @!attribute [rw] state
4135
- # An opaque value to send as the OAuth `state` parameter. Pass the
4136
- # value the provider returns in its callback to CreateIntegration as
4137
- # `authorization.state`.
5513
+ # Opaque value to send as the OAuth `state` parameter. Pass the value
5514
+ # the provider returns in its callback to CreateIntegration as
5515
+ # `providerConfiguration.github.authorization.state`.
4138
5516
  # @return [String]
4139
5517
  #
4140
5518
  # @!attribute [rw] code_challenge
4141
- # The PKCE code challenge to send as the OAuth `code_challenge`
4142
- # parameter.
5519
+ # PKCE code challenge to send as the OAuth `code_challenge` parameter.
4143
5520
  # @return [String]
4144
5521
  #
4145
5522
  # @!attribute [rw] code_challenge_method
4146
- # The PKCE challenge method to send as the OAuth
4147
- # `code_challenge_method` parameter.
5523
+ # PKCE challenge method to send as the OAuth `code_challenge_method`
5524
+ # parameter.
4148
5525
  # @return [String]
4149
5526
  #
4150
5527
  # @!attribute [rw] expires_at
4151
- # The time after which CreateIntegration no longer accepts this
4152
- # authorization.
5528
+ # Time after which CreateIntegration no longer accepts this
5529
+ # authorization. Uses the same date-time wire format as every other
5530
+ # Continuum integration timestamp.
4153
5531
  # @return [Time]
4154
5532
  #
4155
5533
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/StartIntegrationAuthorizationOutput AWS API Documentation
@@ -4163,6 +5541,99 @@ module Aws::Continuum
4163
5541
  include Aws::Structure
4164
5542
  end
4165
5543
 
5544
+ # A deny-only policy owned by one account in one Region. A policy holds
5545
+ # up to five rules, and each rule is evaluated on its own. A package is
5546
+ # denied when an ENFORCE rule matches it and no active policy exception
5547
+ # suppresses that rule.
5548
+ #
5549
+ # @!attribute [rw] name
5550
+ # The display name of the policy.
5551
+ # @return [String]
5552
+ #
5553
+ # @!attribute [rw] description
5554
+ # A description of the policy.
5555
+ # @return [String]
5556
+ #
5557
+ # @!attribute [rw] rules
5558
+ # The deny rules of the policy, from 1 to 5.
5559
+ # @return [Array<Types::Rule>]
5560
+ #
5561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/SupplyChainPolicy AWS API Documentation
5562
+ #
5563
+ class SupplyChainPolicy < Struct.new(
5564
+ :name,
5565
+ :description,
5566
+ :rules)
5567
+ SENSITIVE = []
5568
+ include Aws::Structure
5569
+ end
5570
+
5571
+ # Temporarily suppresses specific rules of exactly one referenced
5572
+ # customer or service-managed policy. An exception never produces an
5573
+ # allow decision.
5574
+ #
5575
+ # @!attribute [rw] name
5576
+ # Customer-chosen display name.
5577
+ # @return [String]
5578
+ #
5579
+ # @!attribute [rw] policy_arn
5580
+ # The ARN of the policy that the exception applies to, either a
5581
+ # customer-managed or a service-managed policy in the same account and
5582
+ # Region.
5583
+ # @return [String]
5584
+ #
5585
+ # @!attribute [rw] rule_ids
5586
+ # The IDs of the rules in that policy to suppress.
5587
+ # @return [Array<String>]
5588
+ #
5589
+ # @!attribute [rw] package
5590
+ # The package that the exception applies to. Rules are suppressed only
5591
+ # for packages that match this identity.
5592
+ # @return [Types::PackageIdentity]
5593
+ #
5594
+ # @!attribute [rw] justification
5595
+ # Why the exception is needed.
5596
+ # @return [String]
5597
+ #
5598
+ # @!attribute [rw] expires_at
5599
+ # Must be in the future and no later than 365 days after the exception
5600
+ # was originally created.
5601
+ # @return [Time]
5602
+ #
5603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/SupplyChainPolicyException AWS API Documentation
5604
+ #
5605
+ class SupplyChainPolicyException < Struct.new(
5606
+ :name,
5607
+ :policy_arn,
5608
+ :rule_ids,
5609
+ :package,
5610
+ :justification,
5611
+ :expires_at)
5612
+ SENSITIVE = []
5613
+ include Aws::Structure
5614
+ end
5615
+
5616
+ # @!attribute [rw] resource_arn
5617
+ # The ARN of the resource to tag.
5618
+ # @return [String]
5619
+ #
5620
+ # @!attribute [rw] tags
5621
+ # The tags to add, as a map of tag keys to tag values.
5622
+ # @return [Hash<String,String>]
5623
+ #
5624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/TagResourceInput AWS API Documentation
5625
+ #
5626
+ class TagResourceInput < Struct.new(
5627
+ :resource_arn,
5628
+ :tags)
5629
+ SENSITIVE = []
5630
+ include Aws::Structure
5631
+ end
5632
+
5633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/TagResourceOutput AWS API Documentation
5634
+ #
5635
+ class TagResourceOutput < Aws::EmptyStructure; end
5636
+
4166
5637
  # The request was denied due to request throttling.
4167
5638
  #
4168
5639
  # @!attribute [rw] message
@@ -4177,6 +5648,27 @@ module Aws::Continuum
4177
5648
  include Aws::Structure
4178
5649
  end
4179
5650
 
5651
+ # @!attribute [rw] resource_arn
5652
+ # The ARN of the resource to untag.
5653
+ # @return [String]
5654
+ #
5655
+ # @!attribute [rw] tag_keys
5656
+ # The keys of the tags to remove.
5657
+ # @return [Array<String>]
5658
+ #
5659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UntagResourceInput AWS API Documentation
5660
+ #
5661
+ class UntagResourceInput < Struct.new(
5662
+ :resource_arn,
5663
+ :tag_keys)
5664
+ SENSITIVE = []
5665
+ include Aws::Structure
5666
+ end
5667
+
5668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UntagResourceOutput AWS API Documentation
5669
+ #
5670
+ class UntagResourceOutput < Aws::EmptyStructure; end
5671
+
4180
5672
  # Mutable source and operating-policy settings for a code environment.
4181
5673
  #
4182
5674
  # @!attribute [rw] source_configuration
@@ -4189,7 +5681,9 @@ module Aws::Continuum
4189
5681
  # network policy; a network without allowedDomains allows no domains.
4190
5682
  # Builds accepted before the change keep the domains they were
4191
5683
  # accepted with. patchCreationPolicy replaces the patch creation
4192
- # policy. scanFrequency updates scan cadence. Omitted members preserve
5684
+ # policy. scanFrequency updates scan cadence. focusMode replaces the
5685
+ # focus mode and applies only to findings created after the change;
5686
+ # findings created before it are unaffected. Omitted members preserve
4193
5687
  # their stored values.
4194
5688
  # @return [Types::EnvironmentConfiguration]
4195
5689
  #
@@ -4297,14 +5791,15 @@ module Aws::Continuum
4297
5791
  include Aws::Structure
4298
5792
  end
4299
5793
 
4300
- # Specifies the mutable environment properties. Supply a name or a
4301
- # change under configuration.codeConfiguration. Its
4302
- # sourceConfiguration.s3Sources and
4303
- # sourceConfiguration.repositorySources replace the S3 source and
5794
+ # Specifies the mutable environment properties. Supply a name, a change
5795
+ # under configuration.codeConfiguration, or
5796
+ # configuration.pentestConfiguration. Its sourceConfiguration.s3Sources
5797
+ # and sourceConfiguration.repositorySources replace the S3 source and
4304
5798
  # repository selections. Its environmentConfiguration has patch
4305
5799
  # semantics: omitted members preserve stored values, scanFrequency
4306
- # updates scan cadence, and network and patchCreationPolicy replace the
4307
- # corresponding policies.
5800
+ # updates scan cadence, and network, patchCreationPolicy and focusMode
5801
+ # replace the corresponding policies. A focusMode change applies only to
5802
+ # findings created after it; findings created before it are unaffected.
4308
5803
  #
4309
5804
  # @!attribute [rw] environment_id
4310
5805
  # The unique identifier of the environment to update.
@@ -4363,9 +5858,9 @@ module Aws::Continuum
4363
5858
  # @return [Time]
4364
5859
  #
4365
5860
  # @!attribute [rw] configuration
4366
- # Type-specific state, including Collector details and the latest
4367
- # scan. Read source and operating-policy settings through
4368
- # GetEnvironment.
5861
+ # Type-specific state, including Collector details, the latest scan,
5862
+ # and the pentest configuration. Read source and operating-policy
5863
+ # settings through GetEnvironment.
4369
5864
  # @return [Types::EnvironmentConfigurationDetails]
4370
5865
  #
4371
5866
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateEnvironmentOutput AWS API Documentation
@@ -4390,7 +5885,7 @@ module Aws::Continuum
4390
5885
  # @return [String]
4391
5886
  #
4392
5887
  # @!attribute [rw] provider_configuration
4393
- # The provider-specific changes to apply. The member must match the
5888
+ # Provider-specific changes to apply. The union member must match the
4394
5889
  # integration's provider type, and only S3 integrations can be
4395
5890
  # updated.
4396
5891
  # @return [Types::UpdateProviderConfiguration]
@@ -4408,26 +5903,25 @@ module Aws::Continuum
4408
5903
  # sensitive external ID is omitted.
4409
5904
  #
4410
5905
  # @!attribute [rw] integration_id
4411
- # The unique identifier for an Integration resource.
5906
+ # Unique identifier of a Continuum integration.
4412
5907
  # @return [String]
4413
5908
  #
4414
5909
  # @!attribute [rw] integration_arn
4415
- # The Amazon Resource Name (ARN) of an Integration resource, of the
4416
- # form
5910
+ # ARN of a Continuum integration, of the form
4417
5911
  # arn:\{partition}:continuum:\{region}:\{account}:integrations/\{integrationId}.
4418
5912
  # @return [String]
4419
5913
  #
4420
5914
  # @!attribute [rw] name
4421
- # The name for an integration.
5915
+ # Caller-provided name of a Continuum integration.
4422
5916
  # @return [String]
4423
5917
  #
4424
5918
  # @!attribute [rw] integration_type
4425
- # The immutable provider type for an integration.
5919
+ # Provider type for a Continuum integration.
4426
5920
  # @return [String]
4427
5921
  #
4428
5922
  # @!attribute [rw] provider_details
4429
- # Provider-specific details for an integration. Only one member will
4430
- # be present.
5923
+ # Provider-specific details for an integration. Exactly one member is
5924
+ # present.
4431
5925
  # @return [Types::ProviderDetails]
4432
5926
  #
4433
5927
  # @!attribute [rw] created_at
@@ -4452,8 +5946,8 @@ module Aws::Continuum
4452
5946
  include Aws::Structure
4453
5947
  end
4454
5948
 
4455
- # Provider-specific changes for updating an integration. Only S3
4456
- # integrations can be updated, so S3 is the only member.
5949
+ # Provider-specific changes for updating a Continuum integration. Only
5950
+ # S3 is supported.
4457
5951
  #
4458
5952
  # @note UpdateProviderConfiguration is a union - when making an API calls you must set exactly one of the members.
4459
5953
  #
@@ -4478,15 +5972,13 @@ module Aws::Continuum
4478
5972
  # bucket cannot be changed.
4479
5973
  #
4480
5974
  # @!attribute [rw] role_arn
4481
- # The role to use. Supply the current role when rotating only the
4482
- # external ID. The caller must be allowed to pass this exact role to
4483
- # Continuum.
5975
+ # Role to use. Supply the current role when rotating only the external
5976
+ # ID.
4484
5977
  # @return [String]
4485
5978
  #
4486
5979
  # @!attribute [rw] external_id
4487
- # The replacement external ID used when assuming the supplied role. If
4488
- # omitted, the existing external ID is preserved. This value is
4489
- # sensitive and is never included in the public integration response.
5980
+ # If omitted, the existing external ID is preserved. Sensitive; never
5981
+ # included on read.
4490
5982
  # @return [String]
4491
5983
  #
4492
5984
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateS3Configuration AWS API Documentation
@@ -4498,6 +5990,119 @@ module Aws::Continuum
4498
5990
  include Aws::Structure
4499
5991
  end
4500
5992
 
5993
+ # Input for `UpdateSupplyChainPolicyException`.
5994
+ #
5995
+ # @!attribute [rw] id
5996
+ # The ID of the policy exception to update.
5997
+ # @return [String]
5998
+ #
5999
+ # @!attribute [rw] exception
6000
+ # The updated policy exception. The name and policyArn must match the
6001
+ # existing exception.
6002
+ # @return [Types::SupplyChainPolicyException]
6003
+ #
6004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicyExceptionRequest AWS API Documentation
6005
+ #
6006
+ class UpdateSupplyChainPolicyExceptionRequest < Struct.new(
6007
+ :id,
6008
+ :exception)
6009
+ SENSITIVE = []
6010
+ include Aws::Structure
6011
+ end
6012
+
6013
+ # Output for `UpdateSupplyChainPolicyException`.
6014
+ #
6015
+ # @!attribute [rw] id
6016
+ # The ID of the policy exception.
6017
+ # @return [String]
6018
+ #
6019
+ # @!attribute [rw] arn
6020
+ # The ARN of the policy exception.
6021
+ # @return [String]
6022
+ #
6023
+ # @!attribute [rw] exception
6024
+ # The policy exception as stored after the update.
6025
+ # @return [Types::SupplyChainPolicyException]
6026
+ #
6027
+ # @!attribute [rw] status
6028
+ # Computed from expiresAt at read time.
6029
+ # @return [String]
6030
+ #
6031
+ # @!attribute [rw] created_at
6032
+ # The time the policy exception was created.
6033
+ # @return [Time]
6034
+ #
6035
+ # @!attribute [rw] updated_at
6036
+ # The time of this update.
6037
+ # @return [Time]
6038
+ #
6039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicyExceptionResponse AWS API Documentation
6040
+ #
6041
+ class UpdateSupplyChainPolicyExceptionResponse < Struct.new(
6042
+ :id,
6043
+ :arn,
6044
+ :exception,
6045
+ :status,
6046
+ :created_at,
6047
+ :updated_at)
6048
+ SENSITIVE = []
6049
+ include Aws::Structure
6050
+ end
6051
+
6052
+ # Input for `UpdateSupplyChainPolicy`.
6053
+ #
6054
+ # @!attribute [rw] id
6055
+ # The ID of the policy to update.
6056
+ # @return [String]
6057
+ #
6058
+ # @!attribute [rw] policy
6059
+ # The updated policy. The name must match the existing name, and the
6060
+ # rules must include every existing rule ID.
6061
+ # @return [Types::SupplyChainPolicy]
6062
+ #
6063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicyRequest AWS API Documentation
6064
+ #
6065
+ class UpdateSupplyChainPolicyRequest < Struct.new(
6066
+ :id,
6067
+ :policy)
6068
+ SENSITIVE = []
6069
+ include Aws::Structure
6070
+ end
6071
+
6072
+ # Output for `UpdateSupplyChainPolicy`.
6073
+ #
6074
+ # @!attribute [rw] id
6075
+ # The ID of the policy.
6076
+ # @return [String]
6077
+ #
6078
+ # @!attribute [rw] arn
6079
+ # The ARN of the policy.
6080
+ # @return [String]
6081
+ #
6082
+ # @!attribute [rw] policy
6083
+ # The policy as stored after the update.
6084
+ # @return [Types::SupplyChainPolicy]
6085
+ #
6086
+ # @!attribute [rw] created_at
6087
+ # The time the policy was created.
6088
+ # @return [Time]
6089
+ #
6090
+ # @!attribute [rw] updated_at
6091
+ # The time of this update.
6092
+ # @return [Time]
6093
+ #
6094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicyResponse AWS API Documentation
6095
+ #
6096
+ class UpdateSupplyChainPolicyResponse < Struct.new(
6097
+ :id,
6098
+ :arn,
6099
+ :policy,
6100
+ :created_at,
6101
+ :updated_at)
6102
+ SENSITIVE = []
6103
+ include Aws::Structure
6104
+ end
6105
+
4501
6106
  # Projected content for a VALIDATION\_EVIDENCE artifact: the validation
4502
6107
  # agent's durable proof of exploitability.
4503
6108
  #
@@ -4562,10 +6167,15 @@ module Aws::Continuum
4562
6167
  include Aws::Structure
4563
6168
  end
4564
6169
 
6170
+ # The request isn't valid. Check the request parameters and try again.
6171
+ #
4565
6172
  # @!attribute [rw] message
6173
+ # Error description.
4566
6174
  # @return [String]
4567
6175
  #
4568
6176
  # @!attribute [rw] field_list
6177
+ # The fields that failed validation, if the failure is about specific
6178
+ # fields.
4569
6179
  # @return [Array<Types::ValidationExceptionField>]
4570
6180
  #
4571
6181
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationException AWS API Documentation
@@ -4577,10 +6187,14 @@ module Aws::Continuum
4577
6187
  include Aws::Structure
4578
6188
  end
4579
6189
 
6190
+ # A field that failed validation.
6191
+ #
4580
6192
  # @!attribute [rw] path
6193
+ # The path to the field that failed validation.
4581
6194
  # @return [String]
4582
6195
  #
4583
6196
  # @!attribute [rw] message
6197
+ # Why the field failed validation.
4584
6198
  # @return [String]
4585
6199
  #
4586
6200
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationExceptionField AWS API Documentation
@@ -4614,12 +6228,24 @@ module Aws::Continuum
4614
6228
  # which was not.
4615
6229
  # @return [String]
4616
6230
  #
6231
+ # @!attribute [rw] setting
6232
+ # Agent-declared real boundary, conditions and substitutions. Absent:
6233
+ # not recorded.
6234
+ # @return [Types::ValidationProofSetting]
6235
+ #
6236
+ # @!attribute [rw] result_materials
6237
+ # Runtime before/after states of paths declared before the gate. Empty
6238
+ # means none declared. Absent: result materials were not recorded.
6239
+ # @return [Array<Types::ValidationProofResultMaterial>]
6240
+ #
4617
6241
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationExecutedProof AWS API Documentation
4618
6242
  #
4619
6243
  class ValidationExecutedProof < Struct.new(
4620
6244
  :code,
4621
6245
  :output,
4622
- :observed_effect)
6246
+ :observed_effect,
6247
+ :setting,
6248
+ :result_materials)
4623
6249
  SENSITIVE = []
4624
6250
  include Aws::Structure
4625
6251
  end
@@ -4668,18 +6294,34 @@ module Aws::Continuum
4668
6294
  include Aws::Structure
4669
6295
  end
4670
6296
 
4671
- # The executed proof's program. Further members, such as command,
4672
- # workingDirectory and supportingInputs, can be added later as optional
4673
- # details.
6297
+ # The whole declared harness and its invocation. Declaration
6298
+ # completeness is not guaranteed.
4674
6299
  #
4675
6300
  # @!attribute [rw] proof_code
4676
- # Proof program files, main file first, in their retained order.
6301
+ # Runtime pre-gate text of declared program files, helpers, payloads,
6302
+ # fixtures and configuration, in declaration order with the main file
6303
+ # first when retained. Zero-byte helpers are skipped; whitespace-only
6304
+ # nonempty files are retained. Legacy content has one unnamed payload
6305
+ # entry. Command present and no entry having a path means
6306
+ # command-only: one actual command entry.
4677
6307
  # @return [Array<Types::ValidationProofMaterial>]
4678
6308
  #
6309
+ # @!attribute [rw] command
6310
+ # Exact command the existing gate ran. Absent: invocation was not
6311
+ # recorded.
6312
+ # @return [String]
6313
+ #
6314
+ # @!attribute [rw] working_directory
6315
+ # Repository-relative gate directory; a single dot means root. Absent:
6316
+ # not recorded.
6317
+ # @return [String]
6318
+ #
4679
6319
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationProofCode AWS API Documentation
4680
6320
  #
4681
6321
  class ValidationProofCode < Struct.new(
4682
- :proof_code)
6322
+ :proof_code,
6323
+ :command,
6324
+ :working_directory)
4683
6325
  SENSITIVE = []
4684
6326
  include Aws::Structure
4685
6327
  end
@@ -4688,13 +6330,21 @@ module Aws::Continuum
4688
6330
  # be added later as optional details.
4689
6331
  #
4690
6332
  # @!attribute [rw] content
4691
- # The file's non-blank text, exactly as retained.
6333
+ # Pre-gate file text, including whitespace-only files, or the actual
6334
+ # command for command-only.
6335
+ # @return [String]
6336
+ #
6337
+ # @!attribute [rw] path
6338
+ # Where the file lived, relative to the validation workspace root,
6339
+ # e.g. ".scanner/harness/ctxmod.py". Absent on command-only entries or
6340
+ # when not recorded.
4692
6341
  # @return [String]
4693
6342
  #
4694
6343
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationProofMaterial AWS API Documentation
4695
6344
  #
4696
6345
  class ValidationProofMaterial < Struct.new(
4697
- :content)
6346
+ :content,
6347
+ :path)
4698
6348
  SENSITIVE = []
4699
6349
  include Aws::Structure
4700
6350
  end
@@ -4715,6 +6365,66 @@ module Aws::Continuum
4715
6365
  include Aws::Structure
4716
6366
  end
4717
6367
 
6368
+ # One predeclared result path, read by the runtime around the existing
6369
+ # gate.
6370
+ #
6371
+ # @!attribute [rw] path
6372
+ # Canonical workspace-relative path or sandbox /tmp/... path.
6373
+ # @return [String]
6374
+ #
6375
+ # @!attribute [rw] change
6376
+ # Computed by comparing runtime reads, never selected by the agent.
6377
+ # @return [String]
6378
+ #
6379
+ # @!attribute [rw] before
6380
+ # Present iff the result existed before the gate. Empty text is a real
6381
+ # zero-byte file. MODIFIED and DELETED require it. UNCHANGED has both
6382
+ # contents present and equal, or both absent.
6383
+ # @return [String]
6384
+ #
6385
+ # @!attribute [rw] after
6386
+ # Present iff the result existed after the gate. Empty text is a real
6387
+ # zero-byte file. CREATED and MODIFIED require it. UNCHANGED has both
6388
+ # contents present and equal, or both absent.
6389
+ # @return [String]
6390
+ #
6391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationProofResultMaterial AWS API Documentation
6392
+ #
6393
+ class ValidationProofResultMaterial < Struct.new(
6394
+ :path,
6395
+ :change,
6396
+ :before,
6397
+ :after)
6398
+ SENSITIVE = []
6399
+ include Aws::Structure
6400
+ end
6401
+
6402
+ # Agent-declared boundary, prerequisites and substitutions, not verified
6403
+ # inventory.
6404
+ #
6405
+ # @!attribute [rw] test_boundary
6406
+ # What was exercised for real. Plain text, including literal technical
6407
+ # expressions.
6408
+ # @return [String]
6409
+ #
6410
+ # @!attribute [rw] conditions
6411
+ # Preconditions the agent declared. Empty means none declared.
6412
+ # @return [Array<String>]
6413
+ #
6414
+ # @!attribute [rw] substitutions
6415
+ # Mocks or substitutes the agent declared. Empty means none declared.
6416
+ # @return [Array<String>]
6417
+ #
6418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationProofSetting AWS API Documentation
6419
+ #
6420
+ class ValidationProofSetting < Struct.new(
6421
+ :test_boundary,
6422
+ :conditions,
6423
+ :substitutions)
6424
+ SENSITIVE = []
6425
+ include Aws::Structure
6426
+ end
6427
+
4718
6428
  # Proof of exploitability the validation agent produced by reading the
4719
6429
  # repository's source, with nothing built or run. Further members, such
4720
6430
  # as diagram and references, can be added later as optional details.
@@ -4732,11 +6442,55 @@ module Aws::Continuum
4732
6442
  # `ValidationExecutedProof.observedEffect`.
4733
6443
  # @return [String]
4734
6444
  #
6445
+ # @!attribute [rw] diagram
6446
+ # Mermaid flowchart of the entry-to-sink path. Absent: none produced.
6447
+ # @return [String]
6448
+ #
6449
+ # @!attribute [rw] references
6450
+ # Exact source lines cited by diagram nodes. Absent: none retained.
6451
+ # @return [Array<Types::ValidationSourceReference>]
6452
+ #
4735
6453
  # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationSourceAnalysis AWS API Documentation
4736
6454
  #
4737
6455
  class ValidationSourceAnalysis < Struct.new(
4738
6456
  :summary,
4739
- :inferred_effect)
6457
+ :inferred_effect,
6458
+ :diagram,
6459
+ :references)
6460
+ SENSITIVE = []
6461
+ include Aws::Structure
6462
+ end
6463
+
6464
+ # Source lines retained by the runtime, apart from secret redaction.
6465
+ #
6466
+ # @!attribute [rw] node_id
6467
+ # The diagram node supported by these lines.
6468
+ # @return [String]
6469
+ #
6470
+ # @!attribute [rw] path
6471
+ # File relative to the validation workspace root.
6472
+ # @return [String]
6473
+ #
6474
+ # @!attribute [rw] start_line
6475
+ # First line, one-based and inclusive.
6476
+ # @return [Integer]
6477
+ #
6478
+ # @!attribute [rw] end_line
6479
+ # Last line, inclusive. Absent means one line.
6480
+ # @return [Integer]
6481
+ #
6482
+ # @!attribute [rw] excerpt
6483
+ # Exact source text read by the runtime, apart from secret redaction.
6484
+ # @return [String]
6485
+ #
6486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ValidationSourceReference AWS API Documentation
6487
+ #
6488
+ class ValidationSourceReference < Struct.new(
6489
+ :node_id,
6490
+ :path,
6491
+ :start_line,
6492
+ :end_line,
6493
+ :excerpt)
4740
6494
  SENSITIVE = []
4741
6495
  include Aws::Structure
4742
6496
  end