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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-continuum/client.rb +1088 -80
- data/lib/aws-sdk-continuum/client_api.rb +884 -80
- data/lib/aws-sdk-continuum/types.rb +1950 -196
- data/lib/aws-sdk-continuum.rb +1 -1
- data/sig/client.rbs +265 -17
- data/sig/params.rbs +64 -0
- data/sig/types.rbs +481 -5
- metadata +1 -1
|
@@ -531,7 +531,7 @@ module Aws::Continuum
|
|
|
531
531
|
# resp = client.associate_collector({
|
|
532
532
|
# environment_id: "EnvironmentId", # required
|
|
533
533
|
# client_token: "AssociationClientToken",
|
|
534
|
-
# collector_arn: "
|
|
534
|
+
# collector_arn: "AssociationCollectorArn", # required
|
|
535
535
|
# collector_data_access_role_arn: "EnvironmentSourceRoleArn", # required
|
|
536
536
|
# })
|
|
537
537
|
#
|
|
@@ -613,7 +613,7 @@ module Aws::Continuum
|
|
|
613
613
|
# resp.finding_id #=> String
|
|
614
614
|
# resp.finding_arn #=> String
|
|
615
615
|
# resp.title #=> String
|
|
616
|
-
# resp.status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED"
|
|
616
|
+
# resp.status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED", "NOT_PURSUED"
|
|
617
617
|
# resp.created_at #=> Time
|
|
618
618
|
#
|
|
619
619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateCodeFinding AWS API Documentation
|
|
@@ -795,6 +795,10 @@ module Aws::Continuum
|
|
|
795
795
|
# },
|
|
796
796
|
# scan_frequency: "ScanFrequency",
|
|
797
797
|
# patch_creation_policy: "ENABLED", # accepts ENABLED, DISABLED
|
|
798
|
+
# focus_mode: "COMPREHENSIVE", # accepts COMPREHENSIVE, FOCUSED
|
|
799
|
+
# issue_budget: {
|
|
800
|
+
# max_issues_per_scan: 1, # required
|
|
801
|
+
# },
|
|
798
802
|
# },
|
|
799
803
|
# },
|
|
800
804
|
# },
|
|
@@ -816,55 +820,40 @@ module Aws::Continuum
|
|
|
816
820
|
req.send_request(options)
|
|
817
821
|
end
|
|
818
822
|
|
|
819
|
-
# Creates a
|
|
820
|
-
#
|
|
821
|
-
#
|
|
822
|
-
# retained for eight hours after success or terminal failure, including
|
|
823
|
-
# after the integration is deleted; replaying a deleted integration's
|
|
824
|
-
# token does not recreate it. An identical request with a retained
|
|
825
|
-
# terminal failure returns the recorded error.
|
|
826
|
-
#
|
|
827
|
-
# Reusing a token with different parameters returns ValidationException.
|
|
828
|
-
# A fresh token starts a new create attempt; if the name is already
|
|
829
|
-
# owned by another integration, ConflictException includes that
|
|
830
|
-
# integration's identifier. An attempt still in progress may return
|
|
831
|
-
# ThrottlingException with retryAfterSeconds set to 1; retry with the
|
|
832
|
-
# same token and identical parameters.
|
|
833
|
-
#
|
|
834
|
-
# GitHub authorization codes are single use. Retry an unresolved attempt
|
|
835
|
-
# with its original token and unchanged parameters first. If the service
|
|
836
|
-
# reports a terminal failure, an expired attempt, or a successful token
|
|
837
|
-
# exchange whose integration could not be saved, restart GitHub
|
|
838
|
-
# authorization with a fresh token and authorization code. The service
|
|
839
|
-
# does not checkpoint provider results for recovery by another request.
|
|
823
|
+
# Creates a Continuum Integration. The ContinuumControlPlane adapter
|
|
824
|
+
# Lambda forwards the API Gateway event (customer identity + FAS) to
|
|
825
|
+
# HoFES, which executes this operation.
|
|
840
826
|
#
|
|
841
827
|
# @option params [String] :client_token
|
|
842
|
-
#
|
|
843
|
-
# account, Region, and operation.
|
|
844
|
-
#
|
|
845
|
-
#
|
|
846
|
-
# attempt. To replay an attempt, supply the same token and identical
|
|
847
|
-
# input. Authorized users and roles in the same account can retry an
|
|
848
|
-
# attempt this way. Token records are retained for eight hours after
|
|
849
|
-
# success or terminal failure, including after deletion of a
|
|
850
|
-
# successfully created integration. Different input with the same token
|
|
851
|
-
# returns ValidationException.
|
|
828
|
+
# Optional idempotency token identifying one create attempt within the
|
|
829
|
+
# caller's account, Region, and operation. The service treats requests
|
|
830
|
+
# with the same token and identical input as replays of the first
|
|
831
|
+
# attempt.
|
|
852
832
|
#
|
|
853
833
|
# **A suitable default value is auto-generated.** You should normally
|
|
854
834
|
# not need to pass this option.**
|
|
855
835
|
#
|
|
856
836
|
# @option params [required, String] :name
|
|
857
|
-
#
|
|
837
|
+
# Caller-provided name for the new integration. Unique per account.
|
|
858
838
|
#
|
|
859
839
|
# @option params [required, Types::ProviderConfiguration] :provider_configuration
|
|
860
|
-
#
|
|
861
|
-
#
|
|
840
|
+
# Provider-specific configuration. Exactly one union member is set.
|
|
841
|
+
#
|
|
842
|
+
# @option params [String] :kms_key_id
|
|
843
|
+
# Optional customer managed KMS key ID. If present, Continuum provisions
|
|
844
|
+
# a Miyu CMK domain on this key and binds the integration's secrets to
|
|
845
|
+
# it.
|
|
846
|
+
#
|
|
847
|
+
# @option params [Hash<String,String>] :tags
|
|
848
|
+
# Tags to add to the integration when it's created.
|
|
862
849
|
#
|
|
863
850
|
# @return [Types::CreateIntegrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
864
851
|
#
|
|
865
852
|
# * {Types::CreateIntegrationOutput#integration_id #integration_id} => String
|
|
866
853
|
# * {Types::CreateIntegrationOutput#integration_arn #integration_arn} => String
|
|
867
854
|
# * {Types::CreateIntegrationOutput#created_at #created_at} => Time
|
|
855
|
+
# * {Types::CreateIntegrationOutput#kms_key_id #kms_key_id} => String
|
|
856
|
+
# * {Types::CreateIntegrationOutput#tags #tags} => Hash<String,String>
|
|
868
857
|
#
|
|
869
858
|
# @example Request syntax with placeholder values
|
|
870
859
|
#
|
|
@@ -892,6 +881,10 @@ module Aws::Continuum
|
|
|
892
881
|
# external_id: "IntegrationS3ExternalId", # required
|
|
893
882
|
# },
|
|
894
883
|
# },
|
|
884
|
+
# kms_key_id: "KmsKeyId",
|
|
885
|
+
# tags: {
|
|
886
|
+
# "TagKey" => "TagValue",
|
|
887
|
+
# },
|
|
895
888
|
# })
|
|
896
889
|
#
|
|
897
890
|
# @example Response structure
|
|
@@ -899,6 +892,9 @@ module Aws::Continuum
|
|
|
899
892
|
# resp.integration_id #=> String
|
|
900
893
|
# resp.integration_arn #=> String
|
|
901
894
|
# resp.created_at #=> Time
|
|
895
|
+
# resp.kms_key_id #=> String
|
|
896
|
+
# resp.tags #=> Hash
|
|
897
|
+
# resp.tags["TagKey"] #=> String
|
|
902
898
|
#
|
|
903
899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateIntegration AWS API Documentation
|
|
904
900
|
#
|
|
@@ -909,6 +905,244 @@ module Aws::Continuum
|
|
|
909
905
|
req.send_request(options)
|
|
910
906
|
end
|
|
911
907
|
|
|
908
|
+
# Evaluates one package against the service-managed malicious-package
|
|
909
|
+
# baseline and the calling account's policies, and records an immutable
|
|
910
|
+
# decision. Call it before installing a package to learn whether to
|
|
911
|
+
# allow or deny it.
|
|
912
|
+
#
|
|
913
|
+
# @option params [required, String] :purl
|
|
914
|
+
# The package URL (purl) of the package version to evaluate, such as
|
|
915
|
+
# `pkg:npm/lodash@4.17.21`.
|
|
916
|
+
#
|
|
917
|
+
# @option params [String] :client_token
|
|
918
|
+
# Idempotency token. Generated SDKs fill it automatically. Within one
|
|
919
|
+
# hour, the same token with the same parameters returns the original
|
|
920
|
+
# decision, and the same token with different parameters returns
|
|
921
|
+
# ValidationException. Requests without a token are rejected with
|
|
922
|
+
# ValidationException.
|
|
923
|
+
#
|
|
924
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
925
|
+
# not need to pass this option.**
|
|
926
|
+
#
|
|
927
|
+
# @return [Types::CreatePackageDecisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
928
|
+
#
|
|
929
|
+
# * {Types::CreatePackageDecisionResponse#decision_id #decision_id} => String
|
|
930
|
+
# * {Types::CreatePackageDecisionResponse#canonical_purl #canonical_purl} => String
|
|
931
|
+
# * {Types::CreatePackageDecisionResponse#evaluated_action #evaluated_action} => String
|
|
932
|
+
# * {Types::CreatePackageDecisionResponse#enforcement_action #enforcement_action} => String
|
|
933
|
+
# * {Types::CreatePackageDecisionResponse#enforcement_mode #enforcement_mode} => String
|
|
934
|
+
# * {Types::CreatePackageDecisionResponse#reason #reason} => String
|
|
935
|
+
#
|
|
936
|
+
# @example Request syntax with placeholder values
|
|
937
|
+
#
|
|
938
|
+
# resp = client.create_package_decision({
|
|
939
|
+
# purl: "PackageUrl", # required
|
|
940
|
+
# client_token: "ClientToken",
|
|
941
|
+
# })
|
|
942
|
+
#
|
|
943
|
+
# @example Response structure
|
|
944
|
+
#
|
|
945
|
+
# resp.decision_id #=> String
|
|
946
|
+
# resp.canonical_purl #=> String
|
|
947
|
+
# resp.evaluated_action #=> String, one of "ALLOW", "DENY"
|
|
948
|
+
# resp.enforcement_action #=> String, one of "ALLOW", "DENY"
|
|
949
|
+
# resp.enforcement_mode #=> String, one of "NONE", "AUDIT", "ENFORCE"
|
|
950
|
+
# resp.reason #=> String, one of "NO_DENY_MATCH", "MALICIOUS_PACKAGE", "POLICY_RULE_MATCHED"
|
|
951
|
+
#
|
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreatePackageDecision AWS API Documentation
|
|
953
|
+
#
|
|
954
|
+
# @overload create_package_decision(params = {})
|
|
955
|
+
# @param [Hash] params ({})
|
|
956
|
+
def create_package_decision(params = {}, options = {})
|
|
957
|
+
req = build_request(:create_package_decision, params)
|
|
958
|
+
req.send_request(options)
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
# Creates a Supply Chain policy in the calling account and Region. A
|
|
962
|
+
# policy holds up to five deny rules, which CreatePackageDecision
|
|
963
|
+
# evaluates for every package.
|
|
964
|
+
#
|
|
965
|
+
# @option params [required, Types::SupplyChainPolicy] :policy
|
|
966
|
+
# The policy to create: its name, description, and rules.
|
|
967
|
+
#
|
|
968
|
+
# @option params [Hash<String,String>] :tags
|
|
969
|
+
# Tags to add to the policy when it's created.
|
|
970
|
+
#
|
|
971
|
+
# @option params [String] :client_token
|
|
972
|
+
# Idempotency token. Generated SDKs fill it automatically. Within one
|
|
973
|
+
# hour, the same token with the same policy returns the policy it
|
|
974
|
+
# created. The same token with a different policy, or after that policy
|
|
975
|
+
# was deleted, returns ConflictException. Tags are not compared, and a
|
|
976
|
+
# repeated create leaves the policy's tags unchanged.
|
|
977
|
+
#
|
|
978
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
979
|
+
# not need to pass this option.**
|
|
980
|
+
#
|
|
981
|
+
# @return [Types::CreateSupplyChainPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
982
|
+
#
|
|
983
|
+
# * {Types::CreateSupplyChainPolicyResponse#id #id} => String
|
|
984
|
+
# * {Types::CreateSupplyChainPolicyResponse#arn #arn} => String
|
|
985
|
+
# * {Types::CreateSupplyChainPolicyResponse#policy #policy} => Types::SupplyChainPolicy
|
|
986
|
+
# * {Types::CreateSupplyChainPolicyResponse#created_at #created_at} => Time
|
|
987
|
+
# * {Types::CreateSupplyChainPolicyResponse#updated_at #updated_at} => Time
|
|
988
|
+
# * {Types::CreateSupplyChainPolicyResponse#tags #tags} => Hash<String,String>
|
|
989
|
+
#
|
|
990
|
+
# @example Request syntax with placeholder values
|
|
991
|
+
#
|
|
992
|
+
# resp = client.create_supply_chain_policy({
|
|
993
|
+
# policy: { # required
|
|
994
|
+
# name: "PolicyName", # required
|
|
995
|
+
# description: "PolicyDescription",
|
|
996
|
+
# rules: [ # required
|
|
997
|
+
# {
|
|
998
|
+
# rule_id: "RuleId", # required
|
|
999
|
+
# enforcement_mode: "AUDIT", # required, accepts AUDIT, ENFORCE
|
|
1000
|
+
# deny_when: { # required
|
|
1001
|
+
# all_of: [ # required
|
|
1002
|
+
# {
|
|
1003
|
+
# signal: "PACKAGE_IDENTITY", # required, accepts PACKAGE_IDENTITY, INSPECTOR_SEVERITY, KEV, MALICIOUS
|
|
1004
|
+
# operator: "MATCHES", # required, accepts MATCHES, AT_LEAST, EQUALS, NOT_EQUALS, IN, PRESENT
|
|
1005
|
+
# value: {
|
|
1006
|
+
# package_identity: {
|
|
1007
|
+
# ecosystem: "Ecosystem", # required
|
|
1008
|
+
# name: "PackageName", # required
|
|
1009
|
+
# version: "PackageVersion",
|
|
1010
|
+
# version_range: "PackageVersionRange",
|
|
1011
|
+
# },
|
|
1012
|
+
# severity: "LOW", # accepts LOW, MEDIUM, HIGH, CRITICAL, UNTRIAGED
|
|
1013
|
+
# string_value: "ConditionScalar",
|
|
1014
|
+
# string_set: ["ConditionScalar"],
|
|
1015
|
+
# },
|
|
1016
|
+
# },
|
|
1017
|
+
# ],
|
|
1018
|
+
# },
|
|
1019
|
+
# },
|
|
1020
|
+
# ],
|
|
1021
|
+
# },
|
|
1022
|
+
# tags: {
|
|
1023
|
+
# "TagKey" => "TagValue",
|
|
1024
|
+
# },
|
|
1025
|
+
# client_token: "ClientToken",
|
|
1026
|
+
# })
|
|
1027
|
+
#
|
|
1028
|
+
# @example Response structure
|
|
1029
|
+
#
|
|
1030
|
+
# resp.id #=> String
|
|
1031
|
+
# resp.arn #=> String
|
|
1032
|
+
# resp.policy.name #=> String
|
|
1033
|
+
# resp.policy.description #=> String
|
|
1034
|
+
# resp.policy.rules #=> Array
|
|
1035
|
+
# resp.policy.rules[0].rule_id #=> String
|
|
1036
|
+
# resp.policy.rules[0].enforcement_mode #=> String, one of "AUDIT", "ENFORCE"
|
|
1037
|
+
# resp.policy.rules[0].deny_when.all_of #=> Array
|
|
1038
|
+
# resp.policy.rules[0].deny_when.all_of[0].signal #=> String, one of "PACKAGE_IDENTITY", "INSPECTOR_SEVERITY", "KEV", "MALICIOUS"
|
|
1039
|
+
# resp.policy.rules[0].deny_when.all_of[0].operator #=> String, one of "MATCHES", "AT_LEAST", "EQUALS", "NOT_EQUALS", "IN", "PRESENT"
|
|
1040
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.ecosystem #=> String
|
|
1041
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.name #=> String
|
|
1042
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version #=> String
|
|
1043
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version_range #=> String
|
|
1044
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNTRIAGED"
|
|
1045
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_value #=> String
|
|
1046
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set #=> Array
|
|
1047
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set[0] #=> String
|
|
1048
|
+
# resp.created_at #=> Time
|
|
1049
|
+
# resp.updated_at #=> Time
|
|
1050
|
+
# resp.tags #=> Hash
|
|
1051
|
+
# resp.tags["TagKey"] #=> String
|
|
1052
|
+
#
|
|
1053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicy AWS API Documentation
|
|
1054
|
+
#
|
|
1055
|
+
# @overload create_supply_chain_policy(params = {})
|
|
1056
|
+
# @param [Hash] params ({})
|
|
1057
|
+
def create_supply_chain_policy(params = {}, options = {})
|
|
1058
|
+
req = build_request(:create_supply_chain_policy, params)
|
|
1059
|
+
req.send_request(options)
|
|
1060
|
+
end
|
|
1061
|
+
|
|
1062
|
+
# Creates a policy exception that suppresses specific rules of one
|
|
1063
|
+
# policy, customer-managed or service-managed, for packages that match a
|
|
1064
|
+
# package identity, until the exception expires. An exception never
|
|
1065
|
+
# produces an allow decision on its own.
|
|
1066
|
+
#
|
|
1067
|
+
# @option params [required, Types::SupplyChainPolicyException] :exception
|
|
1068
|
+
# The exception to create: the policy and rules it suppresses, the
|
|
1069
|
+
# package it applies to, a justification, and an expiry time.
|
|
1070
|
+
#
|
|
1071
|
+
# @option params [Hash<String,String>] :tags
|
|
1072
|
+
# Tags to add to the policy exception when it's created.
|
|
1073
|
+
#
|
|
1074
|
+
# @option params [String] :client_token
|
|
1075
|
+
# Idempotency token. Generated SDKs fill it automatically. Within one
|
|
1076
|
+
# hour, the same token with the same exception returns the exception it
|
|
1077
|
+
# created. The same token with a different exception, or after that
|
|
1078
|
+
# exception was deleted, returns ConflictException. Tags are not
|
|
1079
|
+
# compared, and a repeated create leaves the exception's tags
|
|
1080
|
+
# unchanged.
|
|
1081
|
+
#
|
|
1082
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1083
|
+
# not need to pass this option.**
|
|
1084
|
+
#
|
|
1085
|
+
# @return [Types::CreateSupplyChainPolicyExceptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1086
|
+
#
|
|
1087
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#id #id} => String
|
|
1088
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#arn #arn} => String
|
|
1089
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#exception #exception} => Types::SupplyChainPolicyException
|
|
1090
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#status #status} => String
|
|
1091
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#created_at #created_at} => Time
|
|
1092
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#updated_at #updated_at} => Time
|
|
1093
|
+
# * {Types::CreateSupplyChainPolicyExceptionResponse#tags #tags} => Hash<String,String>
|
|
1094
|
+
#
|
|
1095
|
+
# @example Request syntax with placeholder values
|
|
1096
|
+
#
|
|
1097
|
+
# resp = client.create_supply_chain_policy_exception({
|
|
1098
|
+
# exception: { # required
|
|
1099
|
+
# name: "ExceptionName", # required
|
|
1100
|
+
# policy_arn: "PolicyReferenceArn", # required
|
|
1101
|
+
# rule_ids: ["RuleId"], # required
|
|
1102
|
+
# package: { # required
|
|
1103
|
+
# ecosystem: "Ecosystem", # required
|
|
1104
|
+
# name: "PackageName", # required
|
|
1105
|
+
# version: "PackageVersion",
|
|
1106
|
+
# version_range: "PackageVersionRange",
|
|
1107
|
+
# },
|
|
1108
|
+
# justification: "Justification", # required
|
|
1109
|
+
# expires_at: Time.now, # required
|
|
1110
|
+
# },
|
|
1111
|
+
# tags: {
|
|
1112
|
+
# "TagKey" => "TagValue",
|
|
1113
|
+
# },
|
|
1114
|
+
# client_token: "ClientToken",
|
|
1115
|
+
# })
|
|
1116
|
+
#
|
|
1117
|
+
# @example Response structure
|
|
1118
|
+
#
|
|
1119
|
+
# resp.id #=> String
|
|
1120
|
+
# resp.arn #=> String
|
|
1121
|
+
# resp.exception.name #=> String
|
|
1122
|
+
# resp.exception.policy_arn #=> String
|
|
1123
|
+
# resp.exception.rule_ids #=> Array
|
|
1124
|
+
# resp.exception.rule_ids[0] #=> String
|
|
1125
|
+
# resp.exception.package.ecosystem #=> String
|
|
1126
|
+
# resp.exception.package.name #=> String
|
|
1127
|
+
# resp.exception.package.version #=> String
|
|
1128
|
+
# resp.exception.package.version_range #=> String
|
|
1129
|
+
# resp.exception.justification #=> String
|
|
1130
|
+
# resp.exception.expires_at #=> Time
|
|
1131
|
+
# resp.status #=> String, one of "ACTIVE", "EXPIRED"
|
|
1132
|
+
# resp.created_at #=> Time
|
|
1133
|
+
# resp.updated_at #=> Time
|
|
1134
|
+
# resp.tags #=> Hash
|
|
1135
|
+
# resp.tags["TagKey"] #=> String
|
|
1136
|
+
#
|
|
1137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/CreateSupplyChainPolicyException AWS API Documentation
|
|
1138
|
+
#
|
|
1139
|
+
# @overload create_supply_chain_policy_exception(params = {})
|
|
1140
|
+
# @param [Hash] params ({})
|
|
1141
|
+
def create_supply_chain_policy_exception(params = {}, options = {})
|
|
1142
|
+
req = build_request(:create_supply_chain_policy_exception, params)
|
|
1143
|
+
req.send_request(options)
|
|
1144
|
+
end
|
|
1145
|
+
|
|
912
1146
|
# Deletes the Collector for the caller's account. The Collector first
|
|
913
1147
|
# enters PENDING\_DELETION, then the service removes its schedule, AWS
|
|
914
1148
|
# Config service-linked recorder, versioned S3 bucket, KMS key, and
|
|
@@ -956,13 +1190,8 @@ module Aws::Continuum
|
|
|
956
1190
|
req.send_request(options)
|
|
957
1191
|
end
|
|
958
1192
|
|
|
959
|
-
# Deletes
|
|
960
|
-
#
|
|
961
|
-
# result without recreating the integration. Shared provider
|
|
962
|
-
# registrations are retained: deleting one integration does not remove
|
|
963
|
-
# provider access used by another integration. A fresh GitHub
|
|
964
|
-
# CreateIntegration attempt requires a fresh OAuth authorization code
|
|
965
|
-
# and a new clientToken.
|
|
1193
|
+
# Deletes a Continuum integration owned by the forwarded customer
|
|
1194
|
+
# account.
|
|
966
1195
|
#
|
|
967
1196
|
# @option params [required, String] :integration_id
|
|
968
1197
|
# The unique identifier of the integration to delete.
|
|
@@ -984,6 +1213,51 @@ module Aws::Continuum
|
|
|
984
1213
|
req.send_request(options)
|
|
985
1214
|
end
|
|
986
1215
|
|
|
1216
|
+
# Deletes a policy and every policy exception that references it.
|
|
1217
|
+
#
|
|
1218
|
+
# @option params [required, String] :id
|
|
1219
|
+
# The ID of the policy to delete.
|
|
1220
|
+
#
|
|
1221
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1222
|
+
#
|
|
1223
|
+
# @example Request syntax with placeholder values
|
|
1224
|
+
#
|
|
1225
|
+
# resp = client.delete_supply_chain_policy({
|
|
1226
|
+
# id: "PolicyId", # required
|
|
1227
|
+
# })
|
|
1228
|
+
#
|
|
1229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DeleteSupplyChainPolicy AWS API Documentation
|
|
1230
|
+
#
|
|
1231
|
+
# @overload delete_supply_chain_policy(params = {})
|
|
1232
|
+
# @param [Hash] params ({})
|
|
1233
|
+
def delete_supply_chain_policy(params = {}, options = {})
|
|
1234
|
+
req = build_request(:delete_supply_chain_policy, params)
|
|
1235
|
+
req.send_request(options)
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
# Deletes a policy exception. Subsequent decisions no longer consider
|
|
1239
|
+
# this exception.
|
|
1240
|
+
#
|
|
1241
|
+
# @option params [required, String] :id
|
|
1242
|
+
# The ID of the policy exception to delete.
|
|
1243
|
+
#
|
|
1244
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1245
|
+
#
|
|
1246
|
+
# @example Request syntax with placeholder values
|
|
1247
|
+
#
|
|
1248
|
+
# resp = client.delete_supply_chain_policy_exception({
|
|
1249
|
+
# id: "PolicyExceptionId", # required
|
|
1250
|
+
# })
|
|
1251
|
+
#
|
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DeleteSupplyChainPolicyException AWS API Documentation
|
|
1253
|
+
#
|
|
1254
|
+
# @overload delete_supply_chain_policy_exception(params = {})
|
|
1255
|
+
# @param [Hash] params ({})
|
|
1256
|
+
def delete_supply_chain_policy_exception(params = {}, options = {})
|
|
1257
|
+
req = build_request(:delete_supply_chain_policy_exception, params)
|
|
1258
|
+
req.send_request(options)
|
|
1259
|
+
end
|
|
1260
|
+
|
|
987
1261
|
# Removes one Collector association from this Environment, preserving
|
|
988
1262
|
# its other associations. The stored Collector data-access role is
|
|
989
1263
|
# cleared when no Collector associations remain. The Environment owner
|
|
@@ -1004,7 +1278,7 @@ module Aws::Continuum
|
|
|
1004
1278
|
#
|
|
1005
1279
|
# resp = client.disassociate_collector({
|
|
1006
1280
|
# environment_id: "EnvironmentId", # required
|
|
1007
|
-
# collector_arn: "
|
|
1281
|
+
# collector_arn: "AssociationCollectorArn", # required
|
|
1008
1282
|
# })
|
|
1009
1283
|
#
|
|
1010
1284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/DisassociateCollector AWS API Documentation
|
|
@@ -1076,6 +1350,7 @@ module Aws::Continuum
|
|
|
1076
1350
|
# * {Types::GetCodeFindingOutput#duplicate_of_issue_id #duplicate_of_issue_id} => String
|
|
1077
1351
|
# * {Types::GetCodeFindingOutput#created_issue_id #created_issue_id} => String
|
|
1078
1352
|
# * {Types::GetCodeFindingOutput#completed_at #completed_at} => Time
|
|
1353
|
+
# * {Types::GetCodeFindingOutput#not_pursued_reason #not_pursued_reason} => String
|
|
1079
1354
|
#
|
|
1080
1355
|
# @example Request syntax with placeholder values
|
|
1081
1356
|
#
|
|
@@ -1193,7 +1468,7 @@ module Aws::Continuum
|
|
|
1193
1468
|
# resp.source #=> String
|
|
1194
1469
|
# resp.source_finding_id #=> String
|
|
1195
1470
|
# resp.reported_at #=> Time
|
|
1196
|
-
# resp.status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED"
|
|
1471
|
+
# resp.status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED", "NOT_PURSUED"
|
|
1197
1472
|
# resp.status_updated_at #=> Time
|
|
1198
1473
|
# resp.created_at #=> Time
|
|
1199
1474
|
# resp.scan_run_id #=> String
|
|
@@ -1203,6 +1478,7 @@ module Aws::Continuum
|
|
|
1203
1478
|
# resp.duplicate_of_issue_id #=> String
|
|
1204
1479
|
# resp.created_issue_id #=> String
|
|
1205
1480
|
# resp.completed_at #=> Time
|
|
1481
|
+
# resp.not_pursued_reason #=> String, one of "FOCUS_MODE", "ISSUE_BUDGET"
|
|
1206
1482
|
#
|
|
1207
1483
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetCodeFinding AWS API Documentation
|
|
1208
1484
|
#
|
|
@@ -1274,7 +1550,9 @@ module Aws::Continuum
|
|
|
1274
1550
|
# resp.patch_delivery.succeeded_count #=> Integer
|
|
1275
1551
|
# resp.patch_delivery.failed_count #=> Integer
|
|
1276
1552
|
# resp.patch_delivery.failure_reasons #=> Array
|
|
1277
|
-
# resp.patch_delivery.failure_reasons[0] #=> String, one of "ARTIFACT_READ_FAILED", "ARTIFACT_SOURCE_MISMATCH", "ARTIFACT_SOURCE_MISSING", "BUILD_NOT_FOUND", "BUILD_READ_FAILED", "BUILD_RESULT_SCOPE_MISMATCH", "DELIVERY_NOT_CONFIGURED", "DELIVERY_SOURCE_KIND_CHANGED", "DUPLICATE_LOGICAL_REPOSITORY", "DUPLICATE_OR_INVALID_REPOSITORY", "ENVIRONMENT_DELETED", "ENVIRONMENT_NOT_ACTIVE", "ENVIRONMENT_NOT_FOUND", "ENVIRONMENT_READ_FAILED", "S3_ACCESS_DENIED", "S3_SOURCE_PREFIX_OVERLAP", "SOURCE_INTEGRATION_UNRESOLVED", "SOURCE_INTEGRATION_READ_FAILED", "SOURCE_INTEGRATION_INVALID", "SOURCE_INTEGRATION_CHANGED", "EXPORT_CREDENTIALS_MISSING", "EXPORT_CREDENTIAL_EXPIRY_INVALID", "EXPORT_DESTINATION_INVALID", "EXPORT_EXISTING_OBJECT_MISMATCH", "EXPORT_PUT_FAILED", "EXPORT_RECONCILIATION_READ_FAILED", "EXPORT_ROLE_ASSUMPTION_FAILED", "GITHUB_ACCESS_DENIED", "GITHUB_BASE_NOT_FOUND", "GITHUB_BRANCH_CONFLICT", "GITHUB_NOT_FOUND", "GITHUB_RATE_LIMITED", "GITHUB_REPOSITORY_CHANGED", "GITHUB_REPOSITORY_NOT_FOUND", "GITHUB_REQUEST_FAILED", "GITHUB_REQUEST_REJECTED", "GITHUB_RESPONSE_INVALID", "GREEN_ATTEMPT_NOT_SUCCESSFUL", "GREEN_COMPLETION_NOT_OBSERVED", "PATCH_NOT_SELECTED", "INCOMPLETE_SOURCE_REFERENCE", "INVALID_ARCHIVE_DIGEST", "INVALID_ARTIFACT_SOURCE", "INVALID_COMPLETED_MANIFEST", "INVALID_EXPORT_RECEIPT", "INVALID_GITHUB_PROVENANCE", "INVALID_S3_DESTINATION", "INVALID_SERVICE_RECEIPT", "INVALID_SOURCE_INVENTORY", "INVALID_SOURCE_MANIFEST", "INVALID_SOURCE_REFERENCE", "ISSUE_INTEGRITY_FAILURE", "ISSUE_NOT_FOUND", "MANIFEST_INVENTORY_MISMATCH", "MANIFEST_PROVENANCE_CHANGED", "MANIFEST_REPOSITORY_SET_MISMATCH", "MANIFEST_SCOPE_OR_VERSION_MISMATCH", "MISSING_BUILD_RESULT", "MISSING_COMPLETED_MANIFEST", "MISSING_RESULT_DIGEST", "MISSING_SOURCE_MANIFEST", "MISSING_SOURCE_TARGET", "PATCH_NOT_APPLICABLE", "PATCH_STORAGE_IDENTITY_MISSING", "PATCH_UNSUPPORTED", "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT", "PUBLISHER_DEADLINE_EXCEEDED", "RESULT_COMPLETED_MANIFEST_MISMATCH", "RESULT_SOURCE_BINDING_MISMATCH", "SERVICE_COPY_DIGEST_MISMATCH", "SERVICE_OBJECT_READ_FAILED", "SERVICE_OBJECT_TOO_LARGE", "SERVICE_RECEIPT_OUTSIDE_ISSUE", "SOURCE_OBJECT_DIGEST_MISMATCH", "SOURCE_REFERENCE_OUTSIDE_BUILD", "SOURCE_TARGET_BUILD_MISMATCH", "UNKNOWN_REPOSITORY", "UNKNOWN_SOURCE_PROVIDER", "UNSUPPORTED_ENVIRONMENT_SCHEMA", "github_destination_not_enabled", "patch_creation_policy_disabled"
|
|
1553
|
+
# resp.patch_delivery.failure_reasons[0] #=> String, one of "ARTIFACT_READ_FAILED", "ARTIFACT_SOURCE_MISMATCH", "ARTIFACT_SOURCE_MISSING", "BUILD_NOT_FOUND", "BUILD_READ_FAILED", "BUILD_RESULT_SCOPE_MISMATCH", "DELIVERY_NOT_CONFIGURED", "DELIVERY_SOURCE_KIND_CHANGED", "DUPLICATE_LOGICAL_REPOSITORY", "DUPLICATE_OR_INVALID_REPOSITORY", "ENVIRONMENT_DELETED", "ENVIRONMENT_NOT_ACTIVE", "ENVIRONMENT_NOT_FOUND", "ENVIRONMENT_READ_FAILED", "S3_ACCESS_DENIED", "S3_SOURCE_PREFIX_OVERLAP", "SOURCE_INTEGRATION_UNRESOLVED", "SOURCE_INTEGRATION_READ_FAILED", "SOURCE_INTEGRATION_INVALID", "SOURCE_INTEGRATION_CHANGED", "EXPORT_CREDENTIALS_MISSING", "EXPORT_CREDENTIAL_EXPIRY_INVALID", "EXPORT_DESTINATION_INVALID", "EXPORT_EXISTING_OBJECT_MISMATCH", "EXPORT_PUT_FAILED", "EXPORT_RECONCILIATION_READ_FAILED", "EXPORT_ROLE_ASSUMPTION_FAILED", "GITHUB_ACCESS_DENIED", "GITHUB_BASE_NOT_FOUND", "GITHUB_BRANCH_CONFLICT", "GITHUB_NOT_FOUND", "GITHUB_RATE_LIMITED", "GITHUB_REPOSITORY_CHANGED", "GITHUB_REPOSITORY_NOT_FOUND", "GITHUB_REQUEST_FAILED", "GITHUB_REQUEST_REJECTED", "GITHUB_RESPONSE_INVALID", "GREEN_ATTEMPT_NOT_SUCCESSFUL", "GREEN_COMPLETION_NOT_OBSERVED", "PATCH_NOT_SELECTED", "INCOMPLETE_SOURCE_REFERENCE", "INVALID_ARCHIVE_DIGEST", "INVALID_ARTIFACT_SOURCE", "INVALID_COMPLETED_MANIFEST", "INVALID_EXPORT_RECEIPT", "INVALID_GITHUB_PROVENANCE", "INVALID_S3_DESTINATION", "INVALID_SERVICE_RECEIPT", "INVALID_SOURCE_INVENTORY", "INVALID_SOURCE_MANIFEST", "INVALID_SOURCE_REFERENCE", "ISSUE_INTEGRITY_FAILURE", "ISSUE_NOT_FOUND", "MANIFEST_INVENTORY_MISMATCH", "MANIFEST_PROVENANCE_CHANGED", "MANIFEST_REPOSITORY_SET_MISMATCH", "MANIFEST_SCOPE_OR_VERSION_MISMATCH", "MISSING_BUILD_RESULT", "MISSING_COMPLETED_MANIFEST", "MISSING_RESULT_DIGEST", "MISSING_SOURCE_MANIFEST", "MISSING_SOURCE_TARGET", "PATCH_NOT_APPLICABLE", "PATCH_STORAGE_IDENTITY_MISSING", "PATCH_UNSUPPORTED", "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT", "PUBLISHER_DEADLINE_EXCEEDED", "RESULT_COMPLETED_MANIFEST_MISMATCH", "RESULT_SOURCE_BINDING_MISMATCH", "SERVICE_COPY_DIGEST_MISMATCH", "SERVICE_OBJECT_READ_FAILED", "SERVICE_OBJECT_TOO_LARGE", "SERVICE_RECEIPT_OUTSIDE_ISSUE", "SOURCE_OBJECT_DIGEST_MISMATCH", "SOURCE_REFERENCE_OUTSIDE_BUILD", "SOURCE_TARGET_BUILD_MISMATCH", "UNKNOWN_REPOSITORY", "UNKNOWN_SOURCE_PROVIDER", "UNSUPPORTED_ENVIRONMENT_SCHEMA", "github_destination_not_enabled", "patch_creation_policy_disabled", "GITHUB_ACCESS_LOST", "GITHUB_INSTALLATION_NOT_FOUND", "GITLAB_ACCESS_DENIED", "GITLAB_BASE_NOT_FOUND", "GITLAB_BRANCH_CONFLICT", "GITLAB_BRANCH_PROTECTED", "GITLAB_NOT_FOUND", "GITLAB_PROJECT_CHANGED", "GITLAB_PROJECT_NOT_FOUND", "GITLAB_RATE_LIMITED", "GITLAB_REQUEST_FAILED", "GITLAB_REQUEST_REJECTED", "GITLAB_RESPONSE_INVALID", "INVALID_GITLAB_PROVENANCE", "gitlab_destination_not_enabled", "GITHUB_BRANCH_CREATION_REFUSED"
|
|
1554
|
+
# resp.patch_delivery.skipped_reasons #=> Array
|
|
1555
|
+
# resp.patch_delivery.skipped_reasons[0] #=> String, one of "ARTIFACT_READ_FAILED", "ARTIFACT_SOURCE_MISMATCH", "ARTIFACT_SOURCE_MISSING", "BUILD_NOT_FOUND", "BUILD_READ_FAILED", "BUILD_RESULT_SCOPE_MISMATCH", "DELIVERY_NOT_CONFIGURED", "DELIVERY_SOURCE_KIND_CHANGED", "DUPLICATE_LOGICAL_REPOSITORY", "DUPLICATE_OR_INVALID_REPOSITORY", "ENVIRONMENT_DELETED", "ENVIRONMENT_NOT_ACTIVE", "ENVIRONMENT_NOT_FOUND", "ENVIRONMENT_READ_FAILED", "S3_ACCESS_DENIED", "S3_SOURCE_PREFIX_OVERLAP", "SOURCE_INTEGRATION_UNRESOLVED", "SOURCE_INTEGRATION_READ_FAILED", "SOURCE_INTEGRATION_INVALID", "SOURCE_INTEGRATION_CHANGED", "EXPORT_CREDENTIALS_MISSING", "EXPORT_CREDENTIAL_EXPIRY_INVALID", "EXPORT_DESTINATION_INVALID", "EXPORT_EXISTING_OBJECT_MISMATCH", "EXPORT_PUT_FAILED", "EXPORT_RECONCILIATION_READ_FAILED", "EXPORT_ROLE_ASSUMPTION_FAILED", "GITHUB_ACCESS_DENIED", "GITHUB_BASE_NOT_FOUND", "GITHUB_BRANCH_CONFLICT", "GITHUB_NOT_FOUND", "GITHUB_RATE_LIMITED", "GITHUB_REPOSITORY_CHANGED", "GITHUB_REPOSITORY_NOT_FOUND", "GITHUB_REQUEST_FAILED", "GITHUB_REQUEST_REJECTED", "GITHUB_RESPONSE_INVALID", "GREEN_ATTEMPT_NOT_SUCCESSFUL", "GREEN_COMPLETION_NOT_OBSERVED", "PATCH_NOT_SELECTED", "INCOMPLETE_SOURCE_REFERENCE", "INVALID_ARCHIVE_DIGEST", "INVALID_ARTIFACT_SOURCE", "INVALID_COMPLETED_MANIFEST", "INVALID_EXPORT_RECEIPT", "INVALID_GITHUB_PROVENANCE", "INVALID_S3_DESTINATION", "INVALID_SERVICE_RECEIPT", "INVALID_SOURCE_INVENTORY", "INVALID_SOURCE_MANIFEST", "INVALID_SOURCE_REFERENCE", "ISSUE_INTEGRITY_FAILURE", "ISSUE_NOT_FOUND", "MANIFEST_INVENTORY_MISMATCH", "MANIFEST_PROVENANCE_CHANGED", "MANIFEST_REPOSITORY_SET_MISMATCH", "MANIFEST_SCOPE_OR_VERSION_MISMATCH", "MISSING_BUILD_RESULT", "MISSING_COMPLETED_MANIFEST", "MISSING_RESULT_DIGEST", "MISSING_SOURCE_MANIFEST", "MISSING_SOURCE_TARGET", "PATCH_NOT_APPLICABLE", "PATCH_STORAGE_IDENTITY_MISSING", "PATCH_UNSUPPORTED", "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT", "PUBLISHER_DEADLINE_EXCEEDED", "RESULT_COMPLETED_MANIFEST_MISMATCH", "RESULT_SOURCE_BINDING_MISMATCH", "SERVICE_COPY_DIGEST_MISMATCH", "SERVICE_OBJECT_READ_FAILED", "SERVICE_OBJECT_TOO_LARGE", "SERVICE_RECEIPT_OUTSIDE_ISSUE", "SOURCE_OBJECT_DIGEST_MISMATCH", "SOURCE_REFERENCE_OUTSIDE_BUILD", "SOURCE_TARGET_BUILD_MISMATCH", "UNKNOWN_REPOSITORY", "UNKNOWN_SOURCE_PROVIDER", "UNSUPPORTED_ENVIRONMENT_SCHEMA", "github_destination_not_enabled", "patch_creation_policy_disabled", "GITHUB_ACCESS_LOST", "GITHUB_INSTALLATION_NOT_FOUND", "GITLAB_ACCESS_DENIED", "GITLAB_BASE_NOT_FOUND", "GITLAB_BRANCH_CONFLICT", "GITLAB_BRANCH_PROTECTED", "GITLAB_NOT_FOUND", "GITLAB_PROJECT_CHANGED", "GITLAB_PROJECT_NOT_FOUND", "GITLAB_RATE_LIMITED", "GITLAB_REQUEST_FAILED", "GITLAB_REQUEST_REJECTED", "GITLAB_RESPONSE_INVALID", "INVALID_GITLAB_PROVENANCE", "gitlab_destination_not_enabled", "GITHUB_BRANCH_CREATION_REFUSED"
|
|
1278
1556
|
#
|
|
1279
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetCodeIssue AWS API Documentation
|
|
1280
1558
|
#
|
|
@@ -1340,10 +1618,30 @@ module Aws::Continuum
|
|
|
1340
1618
|
# resp.body.validation_evidence.exploit_artifact.effect #=> String, one of "DATA_LEAKED", "ERROR_REVEALED", "BEHAVIOR_CHANGED", "NO_EFFECT"
|
|
1341
1619
|
# resp.body.validation_evidence.executed_proof.code.proof_code #=> Array
|
|
1342
1620
|
# resp.body.validation_evidence.executed_proof.code.proof_code[0].content #=> String
|
|
1621
|
+
# resp.body.validation_evidence.executed_proof.code.proof_code[0].path #=> String
|
|
1622
|
+
# resp.body.validation_evidence.executed_proof.code.command #=> String
|
|
1623
|
+
# resp.body.validation_evidence.executed_proof.code.working_directory #=> String
|
|
1343
1624
|
# resp.body.validation_evidence.executed_proof.output.console_output #=> String
|
|
1344
1625
|
# resp.body.validation_evidence.executed_proof.observed_effect #=> String, one of "DATA_LEAKED", "ERROR_REVEALED", "BEHAVIOR_CHANGED", "NO_EFFECT"
|
|
1626
|
+
# resp.body.validation_evidence.executed_proof.setting.test_boundary #=> String
|
|
1627
|
+
# resp.body.validation_evidence.executed_proof.setting.conditions #=> Array
|
|
1628
|
+
# resp.body.validation_evidence.executed_proof.setting.conditions[0] #=> String
|
|
1629
|
+
# resp.body.validation_evidence.executed_proof.setting.substitutions #=> Array
|
|
1630
|
+
# resp.body.validation_evidence.executed_proof.setting.substitutions[0] #=> String
|
|
1631
|
+
# resp.body.validation_evidence.executed_proof.result_materials #=> Array
|
|
1632
|
+
# resp.body.validation_evidence.executed_proof.result_materials[0].path #=> String
|
|
1633
|
+
# resp.body.validation_evidence.executed_proof.result_materials[0].change #=> String, one of "CREATED", "MODIFIED", "DELETED", "UNCHANGED"
|
|
1634
|
+
# resp.body.validation_evidence.executed_proof.result_materials[0].before #=> String
|
|
1635
|
+
# resp.body.validation_evidence.executed_proof.result_materials[0].after #=> String
|
|
1345
1636
|
# resp.body.validation_evidence.source_analysis.summary #=> String
|
|
1346
1637
|
# resp.body.validation_evidence.source_analysis.inferred_effect #=> String, one of "DATA_LEAKED", "ERROR_REVEALED", "BEHAVIOR_CHANGED", "NO_EFFECT"
|
|
1638
|
+
# resp.body.validation_evidence.source_analysis.diagram #=> String
|
|
1639
|
+
# resp.body.validation_evidence.source_analysis.references #=> Array
|
|
1640
|
+
# resp.body.validation_evidence.source_analysis.references[0].node_id #=> String
|
|
1641
|
+
# resp.body.validation_evidence.source_analysis.references[0].path #=> String
|
|
1642
|
+
# resp.body.validation_evidence.source_analysis.references[0].start_line #=> Integer
|
|
1643
|
+
# resp.body.validation_evidence.source_analysis.references[0].end_line #=> Integer
|
|
1644
|
+
# resp.body.validation_evidence.source_analysis.references[0].excerpt #=> String
|
|
1347
1645
|
# resp.body.validation_evidence.per_finding_results #=> Array
|
|
1348
1646
|
# resp.body.validation_evidence.per_finding_results[0].finding_id #=> String
|
|
1349
1647
|
# resp.body.validation_evidence.per_finding_results[0].exploitable #=> String, one of "EXPLOITABLE", "NOT_EXPLOITABLE", "UNCERTAIN"
|
|
@@ -1433,7 +1731,15 @@ module Aws::Continuum
|
|
|
1433
1731
|
# resp.body.patch.delivery.target.github.repository #=> String
|
|
1434
1732
|
# resp.body.patch.delivery.target.github.pull_request_number #=> Integer
|
|
1435
1733
|
# resp.body.patch.delivery.target.github.head_sha #=> String
|
|
1734
|
+
# resp.body.patch.delivery.target.gitlab.project_path #=> String
|
|
1735
|
+
# resp.body.patch.delivery.target.gitlab.merge_request_number #=> Integer
|
|
1736
|
+
# resp.body.patch.delivery.target.gitlab.merge_request_uri #=> String
|
|
1737
|
+
# resp.body.patch.delivery.target.gitlab.head_sha #=> String
|
|
1436
1738
|
# resp.body.patch.delivery.updated_at #=> Time
|
|
1739
|
+
# resp.body.patch.delivery.change_request.state #=> String, one of "OPEN", "MERGED", "CLOSED"
|
|
1740
|
+
# resp.body.patch.delivery.change_request.merged_at #=> Time
|
|
1741
|
+
# resp.body.patch.delivery.change_request.closed_at #=> Time
|
|
1742
|
+
# resp.body.patch.delivery.change_request.checked_at #=> Time
|
|
1437
1743
|
# resp.body.raw #=> String
|
|
1438
1744
|
# resp.producer.agent #=> String
|
|
1439
1745
|
# resp.created_at #=> Time
|
|
@@ -1623,6 +1929,8 @@ module Aws::Continuum
|
|
|
1623
1929
|
# resp.configuration.code_configuration.environment_configuration.network.allowed_domains[0] #=> String
|
|
1624
1930
|
# resp.configuration.code_configuration.environment_configuration.scan_frequency #=> String
|
|
1625
1931
|
# resp.configuration.code_configuration.environment_configuration.patch_creation_policy #=> String, one of "ENABLED", "DISABLED"
|
|
1932
|
+
# resp.configuration.code_configuration.environment_configuration.focus_mode #=> String, one of "COMPREHENSIVE", "FOCUSED"
|
|
1933
|
+
# resp.configuration.code_configuration.environment_configuration.issue_budget.max_issues_per_scan #=> Integer
|
|
1626
1934
|
# resp.configuration.code_configuration.latest_scan.scan_run_id #=> String
|
|
1627
1935
|
# resp.configuration.code_configuration.latest_scan.status #=> String, one of "SUBMITTED", "WAITING_FOR_BUILD", "BUILDING", "WAITING_FOR_SCAN", "SCANNING", "SUCCEEDED", "FAILED"
|
|
1628
1936
|
# resp.configuration.code_configuration.latest_scan.origin #=> String, one of "MANUAL", "SCHEDULED"
|
|
@@ -1640,7 +1948,7 @@ module Aws::Continuum
|
|
|
1640
1948
|
req.send_request(options)
|
|
1641
1949
|
end
|
|
1642
1950
|
|
|
1643
|
-
#
|
|
1951
|
+
# Reads a Continuum integration owned by the forwarded customer account.
|
|
1644
1952
|
#
|
|
1645
1953
|
# @option params [required, String] :integration_id
|
|
1646
1954
|
# The unique identifier of the integration to retrieve.
|
|
@@ -1654,6 +1962,8 @@ module Aws::Continuum
|
|
|
1654
1962
|
# * {Types::GetIntegrationOutput#provider_details #provider_details} => Types::ProviderDetails
|
|
1655
1963
|
# * {Types::GetIntegrationOutput#created_at #created_at} => Time
|
|
1656
1964
|
# * {Types::GetIntegrationOutput#updated_at #updated_at} => Time
|
|
1965
|
+
# * {Types::GetIntegrationOutput#kms_key_id #kms_key_id} => String
|
|
1966
|
+
# * {Types::GetIntegrationOutput#tags #tags} => Hash<String,String>
|
|
1657
1967
|
#
|
|
1658
1968
|
# @example Request syntax with placeholder values
|
|
1659
1969
|
#
|
|
@@ -1677,6 +1987,9 @@ module Aws::Continuum
|
|
|
1677
1987
|
# resp.provider_details.s3.role_arn #=> String
|
|
1678
1988
|
# resp.created_at #=> Time
|
|
1679
1989
|
# resp.updated_at #=> Time
|
|
1990
|
+
# resp.kms_key_id #=> String
|
|
1991
|
+
# resp.tags #=> Hash
|
|
1992
|
+
# resp.tags["TagKey"] #=> String
|
|
1680
1993
|
#
|
|
1681
1994
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetIntegration AWS API Documentation
|
|
1682
1995
|
#
|
|
@@ -1687,6 +2000,50 @@ module Aws::Continuum
|
|
|
1687
2000
|
req.send_request(options)
|
|
1688
2001
|
end
|
|
1689
2002
|
|
|
2003
|
+
# Returns one package decision owned by the calling account. Never
|
|
2004
|
+
# re-evaluates. Use ListDecisionEvidence to read the evidence recorded
|
|
2005
|
+
# for the decision.
|
|
2006
|
+
#
|
|
2007
|
+
# @option params [required, String] :decision_id
|
|
2008
|
+
# The ID of the decision, as returned by CreatePackageDecision.
|
|
2009
|
+
#
|
|
2010
|
+
# @return [Types::GetPackageDecisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2011
|
+
#
|
|
2012
|
+
# * {Types::GetPackageDecisionResponse#decision_id #decision_id} => String
|
|
2013
|
+
# * {Types::GetPackageDecisionResponse#evaluated_at #evaluated_at} => Time
|
|
2014
|
+
# * {Types::GetPackageDecisionResponse#completed_at #completed_at} => Time
|
|
2015
|
+
# * {Types::GetPackageDecisionResponse#canonical_purl #canonical_purl} => String
|
|
2016
|
+
# * {Types::GetPackageDecisionResponse#evaluated_action #evaluated_action} => String
|
|
2017
|
+
# * {Types::GetPackageDecisionResponse#enforcement_action #enforcement_action} => String
|
|
2018
|
+
# * {Types::GetPackageDecisionResponse#enforcement_mode #enforcement_mode} => String
|
|
2019
|
+
# * {Types::GetPackageDecisionResponse#reason #reason} => String
|
|
2020
|
+
#
|
|
2021
|
+
# @example Request syntax with placeholder values
|
|
2022
|
+
#
|
|
2023
|
+
# resp = client.get_package_decision({
|
|
2024
|
+
# decision_id: "DecisionId", # required
|
|
2025
|
+
# })
|
|
2026
|
+
#
|
|
2027
|
+
# @example Response structure
|
|
2028
|
+
#
|
|
2029
|
+
# resp.decision_id #=> String
|
|
2030
|
+
# resp.evaluated_at #=> Time
|
|
2031
|
+
# resp.completed_at #=> Time
|
|
2032
|
+
# resp.canonical_purl #=> String
|
|
2033
|
+
# resp.evaluated_action #=> String, one of "ALLOW", "DENY"
|
|
2034
|
+
# resp.enforcement_action #=> String, one of "ALLOW", "DENY"
|
|
2035
|
+
# resp.enforcement_mode #=> String, one of "NONE", "AUDIT", "ENFORCE"
|
|
2036
|
+
# resp.reason #=> String, one of "NO_DENY_MATCH", "MALICIOUS_PACKAGE", "POLICY_RULE_MATCHED"
|
|
2037
|
+
#
|
|
2038
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetPackageDecision AWS API Documentation
|
|
2039
|
+
#
|
|
2040
|
+
# @overload get_package_decision(params = {})
|
|
2041
|
+
# @param [Hash] params ({})
|
|
2042
|
+
def get_package_decision(params = {}, options = {})
|
|
2043
|
+
req = build_request(:get_package_decision, params)
|
|
2044
|
+
req.send_request(options)
|
|
2045
|
+
end
|
|
2046
|
+
|
|
1690
2047
|
# Retrieves the resource policy attached to a Continuum resource.
|
|
1691
2048
|
#
|
|
1692
2049
|
# @option params [required, String] :arn
|
|
@@ -1719,6 +2076,210 @@ module Aws::Continuum
|
|
|
1719
2076
|
req.send_request(options)
|
|
1720
2077
|
end
|
|
1721
2078
|
|
|
2079
|
+
# Returns one read-only policy created and managed by an AWS service,
|
|
2080
|
+
# such as the malicious-package baseline. You can read a service-managed
|
|
2081
|
+
# policy and create policy exceptions for it, but you can't change or
|
|
2082
|
+
# delete it.
|
|
2083
|
+
#
|
|
2084
|
+
# @option params [required, String] :id
|
|
2085
|
+
# The ID of the service-managed policy. ListSupplyChainPolicies returns
|
|
2086
|
+
# the IDs.
|
|
2087
|
+
#
|
|
2088
|
+
# @return [Types::GetSupplyChainManagedPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2089
|
+
#
|
|
2090
|
+
# * {Types::GetSupplyChainManagedPolicyResponse#id #id} => String
|
|
2091
|
+
# * {Types::GetSupplyChainManagedPolicyResponse#arn #arn} => String
|
|
2092
|
+
# * {Types::GetSupplyChainManagedPolicyResponse#managed_by #managed_by} => String
|
|
2093
|
+
# * {Types::GetSupplyChainManagedPolicyResponse#policy #policy} => Types::SupplyChainPolicy
|
|
2094
|
+
#
|
|
2095
|
+
# @example Request syntax with placeholder values
|
|
2096
|
+
#
|
|
2097
|
+
# resp = client.get_supply_chain_managed_policy({
|
|
2098
|
+
# id: "ManagedPolicyId", # required
|
|
2099
|
+
# })
|
|
2100
|
+
#
|
|
2101
|
+
# @example Response structure
|
|
2102
|
+
#
|
|
2103
|
+
# resp.id #=> String
|
|
2104
|
+
# resp.arn #=> String
|
|
2105
|
+
# resp.managed_by #=> String
|
|
2106
|
+
# resp.policy.name #=> String
|
|
2107
|
+
# resp.policy.description #=> String
|
|
2108
|
+
# resp.policy.rules #=> Array
|
|
2109
|
+
# resp.policy.rules[0].rule_id #=> String
|
|
2110
|
+
# resp.policy.rules[0].enforcement_mode #=> String, one of "AUDIT", "ENFORCE"
|
|
2111
|
+
# resp.policy.rules[0].deny_when.all_of #=> Array
|
|
2112
|
+
# resp.policy.rules[0].deny_when.all_of[0].signal #=> String, one of "PACKAGE_IDENTITY", "INSPECTOR_SEVERITY", "KEV", "MALICIOUS"
|
|
2113
|
+
# resp.policy.rules[0].deny_when.all_of[0].operator #=> String, one of "MATCHES", "AT_LEAST", "EQUALS", "NOT_EQUALS", "IN", "PRESENT"
|
|
2114
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.ecosystem #=> String
|
|
2115
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.name #=> String
|
|
2116
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version #=> String
|
|
2117
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version_range #=> String
|
|
2118
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNTRIAGED"
|
|
2119
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_value #=> String
|
|
2120
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set #=> Array
|
|
2121
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set[0] #=> String
|
|
2122
|
+
#
|
|
2123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainManagedPolicy AWS API Documentation
|
|
2124
|
+
#
|
|
2125
|
+
# @overload get_supply_chain_managed_policy(params = {})
|
|
2126
|
+
# @param [Hash] params ({})
|
|
2127
|
+
def get_supply_chain_managed_policy(params = {}, options = {})
|
|
2128
|
+
req = build_request(:get_supply_chain_managed_policy, params)
|
|
2129
|
+
req.send_request(options)
|
|
2130
|
+
end
|
|
2131
|
+
|
|
2132
|
+
# Returns one policy owned by the calling account. The path identifier
|
|
2133
|
+
# is the opaque ID returned by CreateSupplyChainPolicy.
|
|
2134
|
+
#
|
|
2135
|
+
# @option params [required, String] :id
|
|
2136
|
+
# The ID of the policy.
|
|
2137
|
+
#
|
|
2138
|
+
# @return [Types::GetSupplyChainPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2139
|
+
#
|
|
2140
|
+
# * {Types::GetSupplyChainPolicyResponse#id #id} => String
|
|
2141
|
+
# * {Types::GetSupplyChainPolicyResponse#arn #arn} => String
|
|
2142
|
+
# * {Types::GetSupplyChainPolicyResponse#policy #policy} => Types::SupplyChainPolicy
|
|
2143
|
+
# * {Types::GetSupplyChainPolicyResponse#created_at #created_at} => Time
|
|
2144
|
+
# * {Types::GetSupplyChainPolicyResponse#updated_at #updated_at} => Time
|
|
2145
|
+
# * {Types::GetSupplyChainPolicyResponse#tags #tags} => Hash<String,String>
|
|
2146
|
+
#
|
|
2147
|
+
# @example Request syntax with placeholder values
|
|
2148
|
+
#
|
|
2149
|
+
# resp = client.get_supply_chain_policy({
|
|
2150
|
+
# id: "PolicyId", # required
|
|
2151
|
+
# })
|
|
2152
|
+
#
|
|
2153
|
+
# @example Response structure
|
|
2154
|
+
#
|
|
2155
|
+
# resp.id #=> String
|
|
2156
|
+
# resp.arn #=> String
|
|
2157
|
+
# resp.policy.name #=> String
|
|
2158
|
+
# resp.policy.description #=> String
|
|
2159
|
+
# resp.policy.rules #=> Array
|
|
2160
|
+
# resp.policy.rules[0].rule_id #=> String
|
|
2161
|
+
# resp.policy.rules[0].enforcement_mode #=> String, one of "AUDIT", "ENFORCE"
|
|
2162
|
+
# resp.policy.rules[0].deny_when.all_of #=> Array
|
|
2163
|
+
# resp.policy.rules[0].deny_when.all_of[0].signal #=> String, one of "PACKAGE_IDENTITY", "INSPECTOR_SEVERITY", "KEV", "MALICIOUS"
|
|
2164
|
+
# resp.policy.rules[0].deny_when.all_of[0].operator #=> String, one of "MATCHES", "AT_LEAST", "EQUALS", "NOT_EQUALS", "IN", "PRESENT"
|
|
2165
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.ecosystem #=> String
|
|
2166
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.name #=> String
|
|
2167
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version #=> String
|
|
2168
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version_range #=> String
|
|
2169
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNTRIAGED"
|
|
2170
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_value #=> String
|
|
2171
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set #=> Array
|
|
2172
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set[0] #=> String
|
|
2173
|
+
# resp.created_at #=> Time
|
|
2174
|
+
# resp.updated_at #=> Time
|
|
2175
|
+
# resp.tags #=> Hash
|
|
2176
|
+
# resp.tags["TagKey"] #=> String
|
|
2177
|
+
#
|
|
2178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicy AWS API Documentation
|
|
2179
|
+
#
|
|
2180
|
+
# @overload get_supply_chain_policy(params = {})
|
|
2181
|
+
# @param [Hash] params ({})
|
|
2182
|
+
def get_supply_chain_policy(params = {}, options = {})
|
|
2183
|
+
req = build_request(:get_supply_chain_policy, params)
|
|
2184
|
+
req.send_request(options)
|
|
2185
|
+
end
|
|
2186
|
+
|
|
2187
|
+
# Returns one policy exception owned by the calling account, with its
|
|
2188
|
+
# status computed from expiresAt. The path identifier is the opaque ID
|
|
2189
|
+
# returned by CreateSupplyChainPolicyException.
|
|
2190
|
+
#
|
|
2191
|
+
# @option params [required, String] :id
|
|
2192
|
+
# The ID of the policy exception.
|
|
2193
|
+
#
|
|
2194
|
+
# @return [Types::GetSupplyChainPolicyExceptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2195
|
+
#
|
|
2196
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#id #id} => String
|
|
2197
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#arn #arn} => String
|
|
2198
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#exception #exception} => Types::SupplyChainPolicyException
|
|
2199
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#status #status} => String
|
|
2200
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#created_at #created_at} => Time
|
|
2201
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#updated_at #updated_at} => Time
|
|
2202
|
+
# * {Types::GetSupplyChainPolicyExceptionResponse#tags #tags} => Hash<String,String>
|
|
2203
|
+
#
|
|
2204
|
+
# @example Request syntax with placeholder values
|
|
2205
|
+
#
|
|
2206
|
+
# resp = client.get_supply_chain_policy_exception({
|
|
2207
|
+
# id: "PolicyExceptionId", # required
|
|
2208
|
+
# })
|
|
2209
|
+
#
|
|
2210
|
+
# @example Response structure
|
|
2211
|
+
#
|
|
2212
|
+
# resp.id #=> String
|
|
2213
|
+
# resp.arn #=> String
|
|
2214
|
+
# resp.exception.name #=> String
|
|
2215
|
+
# resp.exception.policy_arn #=> String
|
|
2216
|
+
# resp.exception.rule_ids #=> Array
|
|
2217
|
+
# resp.exception.rule_ids[0] #=> String
|
|
2218
|
+
# resp.exception.package.ecosystem #=> String
|
|
2219
|
+
# resp.exception.package.name #=> String
|
|
2220
|
+
# resp.exception.package.version #=> String
|
|
2221
|
+
# resp.exception.package.version_range #=> String
|
|
2222
|
+
# resp.exception.justification #=> String
|
|
2223
|
+
# resp.exception.expires_at #=> Time
|
|
2224
|
+
# resp.status #=> String, one of "ACTIVE", "EXPIRED"
|
|
2225
|
+
# resp.created_at #=> Time
|
|
2226
|
+
# resp.updated_at #=> Time
|
|
2227
|
+
# resp.tags #=> Hash
|
|
2228
|
+
# resp.tags["TagKey"] #=> String
|
|
2229
|
+
#
|
|
2230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetSupplyChainPolicyException AWS API Documentation
|
|
2231
|
+
#
|
|
2232
|
+
# @overload get_supply_chain_policy_exception(params = {})
|
|
2233
|
+
# @param [Hash] params ({})
|
|
2234
|
+
def get_supply_chain_policy_exception(params = {}, options = {})
|
|
2235
|
+
req = build_request(:get_supply_chain_policy_exception, params)
|
|
2236
|
+
req.send_request(options)
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
# Returns metadata for one vulnerability ID, such as an ID from
|
|
2240
|
+
# MandatoryBaselineEvidence.vulnerabilityIds.
|
|
2241
|
+
#
|
|
2242
|
+
# @option params [required, String] :vulnerability_id
|
|
2243
|
+
# The vulnerability ID, such as CVE-2024-1234 or an ID from
|
|
2244
|
+
# MandatoryBaselineEvidence.vulnerabilityIds.
|
|
2245
|
+
#
|
|
2246
|
+
# @return [Types::GetVulnerabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2247
|
+
#
|
|
2248
|
+
# * {Types::GetVulnerabilityResponse#id #id} => String
|
|
2249
|
+
# * {Types::GetVulnerabilityResponse#malicious #malicious} => Boolean
|
|
2250
|
+
# * {Types::GetVulnerabilityResponse#severity #severity} => String
|
|
2251
|
+
# * {Types::GetVulnerabilityResponse#analysis_state #analysis_state} => String
|
|
2252
|
+
# * {Types::GetVulnerabilityResponse#description #description} => String
|
|
2253
|
+
# * {Types::GetVulnerabilityResponse#cwes #cwes} => Array<Integer>
|
|
2254
|
+
# * {Types::GetVulnerabilityResponse#advisory_urls #advisory_urls} => Array<String>
|
|
2255
|
+
#
|
|
2256
|
+
# @example Request syntax with placeholder values
|
|
2257
|
+
#
|
|
2258
|
+
# resp = client.get_vulnerability({
|
|
2259
|
+
# vulnerability_id: "VulnerabilityId", # required
|
|
2260
|
+
# })
|
|
2261
|
+
#
|
|
2262
|
+
# @example Response structure
|
|
2263
|
+
#
|
|
2264
|
+
# resp.id #=> String
|
|
2265
|
+
# resp.malicious #=> Boolean
|
|
2266
|
+
# resp.severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO", "NONE", "UNKNOWN"
|
|
2267
|
+
# resp.analysis_state #=> String, one of "RESOLVED", "RESOLVED_WITH_PEDIGREE", "EXPLOITABLE", "IN_TRIAGE", "FALSE_POSITIVE", "NOT_AFFECTED"
|
|
2268
|
+
# resp.description #=> String
|
|
2269
|
+
# resp.cwes #=> Array
|
|
2270
|
+
# resp.cwes[0] #=> Integer
|
|
2271
|
+
# resp.advisory_urls #=> Array
|
|
2272
|
+
# resp.advisory_urls[0] #=> String
|
|
2273
|
+
#
|
|
2274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/GetVulnerability AWS API Documentation
|
|
2275
|
+
#
|
|
2276
|
+
# @overload get_vulnerability(params = {})
|
|
2277
|
+
# @param [Hash] params ({})
|
|
2278
|
+
def get_vulnerability(params = {}, options = {})
|
|
2279
|
+
req = build_request(:get_vulnerability, params)
|
|
2280
|
+
req.send_request(options)
|
|
2281
|
+
end
|
|
2282
|
+
|
|
1722
2283
|
# Lists the Collectors currently associated with one Environment in
|
|
1723
2284
|
# ascending collectorId order. Each entry carries the Collector ARN, so
|
|
1724
2285
|
# a listed association can be passed straight to DisassociateCollector,
|
|
@@ -1849,7 +2410,7 @@ module Aws::Continuum
|
|
|
1849
2410
|
# resp.items[0].source #=> String
|
|
1850
2411
|
# resp.items[0].source_finding_id #=> String
|
|
1851
2412
|
# resp.items[0].reported_at #=> Time
|
|
1852
|
-
# resp.items[0].status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED"
|
|
2413
|
+
# resp.items[0].status #=> String, one of "SUBMITTED", "VALIDATING", "CONFIRMED", "DISCARDED", "NOT_PURSUED"
|
|
1853
2414
|
# resp.items[0].status_updated_at #=> Time
|
|
1854
2415
|
# resp.items[0].created_at #=> Time
|
|
1855
2416
|
# resp.items[0].scan_run_id #=> String
|
|
@@ -1864,6 +2425,7 @@ module Aws::Continuum
|
|
|
1864
2425
|
# resp.items[0].severity #=> String, one of "UNKNOWN", "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL", "FATAL", "OTHER"
|
|
1865
2426
|
# resp.items[0].category #=> String
|
|
1866
2427
|
# resp.items[0].file_path #=> String
|
|
2428
|
+
# resp.items[0].not_pursued_reason #=> String, one of "FOCUS_MODE", "ISSUE_BUDGET"
|
|
1867
2429
|
# resp.next_token #=> String
|
|
1868
2430
|
#
|
|
1869
2431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListCodeFindings AWS API Documentation
|
|
@@ -2060,6 +2622,59 @@ module Aws::Continuum
|
|
|
2060
2622
|
req.send_request(options)
|
|
2061
2623
|
end
|
|
2062
2624
|
|
|
2625
|
+
# Returns the immutable evidence recorded for one decision: which
|
|
2626
|
+
# baseline, rules, and policy exceptions applied to the package. Never
|
|
2627
|
+
# re-evaluates.
|
|
2628
|
+
#
|
|
2629
|
+
# @option params [required, String] :decision_id
|
|
2630
|
+
# The ID of the decision, as returned by CreatePackageDecision.
|
|
2631
|
+
#
|
|
2632
|
+
# @option params [Integer] :max_results
|
|
2633
|
+
# The maximum number of evidence items to return, from 1 to 100.
|
|
2634
|
+
#
|
|
2635
|
+
# @option params [String] :next_token
|
|
2636
|
+
# The token returned by a previous call, to get the next page of
|
|
2637
|
+
# evidence.
|
|
2638
|
+
#
|
|
2639
|
+
# @return [Types::ListDecisionEvidenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2640
|
+
#
|
|
2641
|
+
# * {Types::ListDecisionEvidenceResponse#evidence #evidence} => Array<Types::DecisionEvidence>
|
|
2642
|
+
# * {Types::ListDecisionEvidenceResponse#next_token #next_token} => String
|
|
2643
|
+
#
|
|
2644
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2645
|
+
#
|
|
2646
|
+
# @example Request syntax with placeholder values
|
|
2647
|
+
#
|
|
2648
|
+
# resp = client.list_decision_evidence({
|
|
2649
|
+
# decision_id: "DecisionId", # required
|
|
2650
|
+
# max_results: 1,
|
|
2651
|
+
# next_token: "NextToken",
|
|
2652
|
+
# })
|
|
2653
|
+
#
|
|
2654
|
+
# @example Response structure
|
|
2655
|
+
#
|
|
2656
|
+
# resp.evidence #=> Array
|
|
2657
|
+
# resp.evidence[0].mandatory_baseline.baseline_arn #=> String
|
|
2658
|
+
# resp.evidence[0].mandatory_baseline.vulnerability_ids #=> Array
|
|
2659
|
+
# resp.evidence[0].mandatory_baseline.vulnerability_ids[0] #=> String
|
|
2660
|
+
# resp.evidence[0].policy_rule_match.policy_arn #=> String
|
|
2661
|
+
# resp.evidence[0].policy_rule_match.rule_id #=> String
|
|
2662
|
+
# resp.evidence[0].policy_rule_match.enforcement_mode #=> String, one of "NONE", "AUDIT", "ENFORCE"
|
|
2663
|
+
# resp.evidence[0].policy_exception.exception_arn #=> String
|
|
2664
|
+
# resp.evidence[0].policy_exception.policy_arn #=> String
|
|
2665
|
+
# resp.evidence[0].policy_exception.rule_ids #=> Array
|
|
2666
|
+
# resp.evidence[0].policy_exception.rule_ids[0] #=> String
|
|
2667
|
+
# resp.next_token #=> String
|
|
2668
|
+
#
|
|
2669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListDecisionEvidence AWS API Documentation
|
|
2670
|
+
#
|
|
2671
|
+
# @overload list_decision_evidence(params = {})
|
|
2672
|
+
# @param [Hash] params ({})
|
|
2673
|
+
def list_decision_evidence(params = {}, options = {})
|
|
2674
|
+
req = build_request(:list_decision_evidence, params)
|
|
2675
|
+
req.send_request(options)
|
|
2676
|
+
end
|
|
2677
|
+
|
|
2063
2678
|
# Lists all environments in your account in descending environmentId
|
|
2064
2679
|
# order. This complete-inventory operation intentionally has no response
|
|
2065
2680
|
# filters; see the input documentation for the API standards
|
|
@@ -2105,15 +2720,14 @@ module Aws::Continuum
|
|
|
2105
2720
|
req.send_request(options)
|
|
2106
2721
|
end
|
|
2107
2722
|
|
|
2108
|
-
# Lists
|
|
2109
|
-
# order.
|
|
2723
|
+
# Lists Continuum integrations owned by the forwarded customer account.
|
|
2110
2724
|
#
|
|
2111
2725
|
# @option params [Integer] :max_results
|
|
2112
|
-
#
|
|
2726
|
+
# Maximum number of integrations to return per page.
|
|
2113
2727
|
#
|
|
2114
2728
|
# @option params [String] :next_token
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
2729
|
+
# Pagination token returned by a previous call. Omit for the first
|
|
2730
|
+
# request.
|
|
2117
2731
|
#
|
|
2118
2732
|
# @return [Types::ListIntegrationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2119
2733
|
#
|
|
@@ -2146,6 +2760,7 @@ module Aws::Continuum
|
|
|
2146
2760
|
# resp.items[0].provider_details.s3.role_arn #=> String
|
|
2147
2761
|
# resp.items[0].created_at #=> Time
|
|
2148
2762
|
# resp.items[0].updated_at #=> Time
|
|
2763
|
+
# resp.items[0].kms_key_id #=> String
|
|
2149
2764
|
# resp.next_token #=> String
|
|
2150
2765
|
#
|
|
2151
2766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListIntegrations AWS API Documentation
|
|
@@ -2157,6 +2772,191 @@ module Aws::Continuum
|
|
|
2157
2772
|
req.send_request(options)
|
|
2158
2773
|
end
|
|
2159
2774
|
|
|
2775
|
+
# Lists the package decisions made for the calling account, newest first
|
|
2776
|
+
# by completedAt. Decisions are retained for 45 days.
|
|
2777
|
+
#
|
|
2778
|
+
# @option params [Time,DateTime,Date,Integer,String] :completed_after
|
|
2779
|
+
# Only return decisions completed at or after this time.
|
|
2780
|
+
#
|
|
2781
|
+
# @option params [Time,DateTime,Date,Integer,String] :completed_before
|
|
2782
|
+
# Only return decisions completed before this time.
|
|
2783
|
+
#
|
|
2784
|
+
# @option params [Integer] :max_results
|
|
2785
|
+
# The maximum number of decisions to return, from 1 to 100.
|
|
2786
|
+
#
|
|
2787
|
+
# @option params [String] :next_token
|
|
2788
|
+
# The token returned by a previous call, to get the next page of
|
|
2789
|
+
# decisions.
|
|
2790
|
+
#
|
|
2791
|
+
# @return [Types::ListPackageDecisionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2792
|
+
#
|
|
2793
|
+
# * {Types::ListPackageDecisionsResponse#decisions #decisions} => Array<Types::PackageDecisionSummary>
|
|
2794
|
+
# * {Types::ListPackageDecisionsResponse#next_token #next_token} => String
|
|
2795
|
+
#
|
|
2796
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2797
|
+
#
|
|
2798
|
+
# @example Request syntax with placeholder values
|
|
2799
|
+
#
|
|
2800
|
+
# resp = client.list_package_decisions({
|
|
2801
|
+
# completed_after: Time.now,
|
|
2802
|
+
# completed_before: Time.now,
|
|
2803
|
+
# max_results: 1,
|
|
2804
|
+
# next_token: "NextToken",
|
|
2805
|
+
# })
|
|
2806
|
+
#
|
|
2807
|
+
# @example Response structure
|
|
2808
|
+
#
|
|
2809
|
+
# resp.decisions #=> Array
|
|
2810
|
+
# resp.decisions[0].decision_id #=> String
|
|
2811
|
+
# resp.decisions[0].evaluated_at #=> Time
|
|
2812
|
+
# resp.decisions[0].completed_at #=> Time
|
|
2813
|
+
# resp.decisions[0].canonical_purl #=> String
|
|
2814
|
+
# resp.decisions[0].evaluated_action #=> String, one of "ALLOW", "DENY"
|
|
2815
|
+
# resp.decisions[0].enforcement_action #=> String, one of "ALLOW", "DENY"
|
|
2816
|
+
# resp.decisions[0].enforcement_mode #=> String, one of "NONE", "AUDIT", "ENFORCE"
|
|
2817
|
+
# resp.decisions[0].reason #=> String, one of "NO_DENY_MATCH", "MALICIOUS_PACKAGE", "POLICY_RULE_MATCHED"
|
|
2818
|
+
# resp.next_token #=> String
|
|
2819
|
+
#
|
|
2820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListPackageDecisions AWS API Documentation
|
|
2821
|
+
#
|
|
2822
|
+
# @overload list_package_decisions(params = {})
|
|
2823
|
+
# @param [Hash] params ({})
|
|
2824
|
+
def list_package_decisions(params = {}, options = {})
|
|
2825
|
+
req = build_request(:list_package_decisions, params)
|
|
2826
|
+
req.send_request(options)
|
|
2827
|
+
end
|
|
2828
|
+
|
|
2829
|
+
# Lists customer-managed and service-managed policies visible to the
|
|
2830
|
+
# calling account in the current Region.
|
|
2831
|
+
#
|
|
2832
|
+
# @option params [String] :policy_type
|
|
2833
|
+
# Filters the response by policy ownership. When omitted, both
|
|
2834
|
+
# customer-managed and service-managed policies are returned.
|
|
2835
|
+
#
|
|
2836
|
+
# @option params [Integer] :max_results
|
|
2837
|
+
# The maximum number of policies to return, from 1 to 100.
|
|
2838
|
+
#
|
|
2839
|
+
# @option params [String] :next_token
|
|
2840
|
+
# The token returned by a previous call, to get the next page of
|
|
2841
|
+
# policies.
|
|
2842
|
+
#
|
|
2843
|
+
# @return [Types::ListSupplyChainPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2844
|
+
#
|
|
2845
|
+
# * {Types::ListSupplyChainPoliciesResponse#policies #policies} => Array<Types::PolicyListEntry>
|
|
2846
|
+
# * {Types::ListSupplyChainPoliciesResponse#next_token #next_token} => String
|
|
2847
|
+
#
|
|
2848
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2849
|
+
#
|
|
2850
|
+
# @example Request syntax with placeholder values
|
|
2851
|
+
#
|
|
2852
|
+
# resp = client.list_supply_chain_policies({
|
|
2853
|
+
# policy_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
|
2854
|
+
# max_results: 1,
|
|
2855
|
+
# next_token: "NextToken",
|
|
2856
|
+
# })
|
|
2857
|
+
#
|
|
2858
|
+
# @example Response structure
|
|
2859
|
+
#
|
|
2860
|
+
# resp.policies #=> Array
|
|
2861
|
+
# resp.policies[0].policy.id #=> String
|
|
2862
|
+
# resp.policies[0].policy.policy_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
|
2863
|
+
# resp.policies[0].policy.arn #=> String
|
|
2864
|
+
# resp.policies[0].policy.name #=> String
|
|
2865
|
+
# resp.policies[0].policy.created_at #=> Time
|
|
2866
|
+
# resp.policies[0].policy.updated_at #=> Time
|
|
2867
|
+
# resp.policies[0].managed_policy.id #=> String
|
|
2868
|
+
# resp.policies[0].managed_policy.policy_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
|
2869
|
+
# resp.policies[0].managed_policy.arn #=> String
|
|
2870
|
+
# resp.policies[0].managed_policy.managed_by #=> String
|
|
2871
|
+
# resp.policies[0].managed_policy.name #=> String
|
|
2872
|
+
# resp.next_token #=> String
|
|
2873
|
+
#
|
|
2874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPolicies AWS API Documentation
|
|
2875
|
+
#
|
|
2876
|
+
# @overload list_supply_chain_policies(params = {})
|
|
2877
|
+
# @param [Hash] params ({})
|
|
2878
|
+
def list_supply_chain_policies(params = {}, options = {})
|
|
2879
|
+
req = build_request(:list_supply_chain_policies, params)
|
|
2880
|
+
req.send_request(options)
|
|
2881
|
+
end
|
|
2882
|
+
|
|
2883
|
+
# Lists policy exceptions owned by the calling account in the current
|
|
2884
|
+
# Region.
|
|
2885
|
+
#
|
|
2886
|
+
# @option params [Integer] :max_results
|
|
2887
|
+
# The maximum number of policy exceptions to return, from 1 to 100.
|
|
2888
|
+
#
|
|
2889
|
+
# @option params [String] :next_token
|
|
2890
|
+
# The token returned by a previous call, to get the next page of policy
|
|
2891
|
+
# exceptions.
|
|
2892
|
+
#
|
|
2893
|
+
# @return [Types::ListSupplyChainPolicyExceptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2894
|
+
#
|
|
2895
|
+
# * {Types::ListSupplyChainPolicyExceptionsResponse#exceptions #exceptions} => Array<Types::PolicyExceptionSummary>
|
|
2896
|
+
# * {Types::ListSupplyChainPolicyExceptionsResponse#next_token #next_token} => String
|
|
2897
|
+
#
|
|
2898
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2899
|
+
#
|
|
2900
|
+
# @example Request syntax with placeholder values
|
|
2901
|
+
#
|
|
2902
|
+
# resp = client.list_supply_chain_policy_exceptions({
|
|
2903
|
+
# max_results: 1,
|
|
2904
|
+
# next_token: "NextToken",
|
|
2905
|
+
# })
|
|
2906
|
+
#
|
|
2907
|
+
# @example Response structure
|
|
2908
|
+
#
|
|
2909
|
+
# resp.exceptions #=> Array
|
|
2910
|
+
# resp.exceptions[0].id #=> String
|
|
2911
|
+
# resp.exceptions[0].arn #=> String
|
|
2912
|
+
# resp.exceptions[0].name #=> String
|
|
2913
|
+
# resp.exceptions[0].policy_arn #=> String
|
|
2914
|
+
# resp.exceptions[0].rule_ids #=> Array
|
|
2915
|
+
# resp.exceptions[0].rule_ids[0] #=> String
|
|
2916
|
+
# resp.exceptions[0].status #=> String, one of "ACTIVE", "EXPIRED"
|
|
2917
|
+
# resp.exceptions[0].expires_at #=> Time
|
|
2918
|
+
# resp.exceptions[0].created_at #=> Time
|
|
2919
|
+
# resp.exceptions[0].updated_at #=> Time
|
|
2920
|
+
# resp.next_token #=> String
|
|
2921
|
+
#
|
|
2922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListSupplyChainPolicyExceptions AWS API Documentation
|
|
2923
|
+
#
|
|
2924
|
+
# @overload list_supply_chain_policy_exceptions(params = {})
|
|
2925
|
+
# @param [Hash] params ({})
|
|
2926
|
+
def list_supply_chain_policy_exceptions(params = {}, options = {})
|
|
2927
|
+
req = build_request(:list_supply_chain_policy_exceptions, params)
|
|
2928
|
+
req.send_request(options)
|
|
2929
|
+
end
|
|
2930
|
+
|
|
2931
|
+
# Returns the tags on a Continuum resource.
|
|
2932
|
+
#
|
|
2933
|
+
# @option params [required, String] :resource_arn
|
|
2934
|
+
# The ARN of the resource whose tags to return.
|
|
2935
|
+
#
|
|
2936
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2937
|
+
#
|
|
2938
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Hash<String,String>
|
|
2939
|
+
#
|
|
2940
|
+
# @example Request syntax with placeholder values
|
|
2941
|
+
#
|
|
2942
|
+
# resp = client.list_tags_for_resource({
|
|
2943
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
2944
|
+
# })
|
|
2945
|
+
#
|
|
2946
|
+
# @example Response structure
|
|
2947
|
+
#
|
|
2948
|
+
# resp.tags #=> Hash
|
|
2949
|
+
# resp.tags["TagKey"] #=> String
|
|
2950
|
+
#
|
|
2951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/ListTagsForResource AWS API Documentation
|
|
2952
|
+
#
|
|
2953
|
+
# @overload list_tags_for_resource(params = {})
|
|
2954
|
+
# @param [Hash] params ({})
|
|
2955
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
2956
|
+
req = build_request(:list_tags_for_resource, params)
|
|
2957
|
+
req.send_request(options)
|
|
2958
|
+
end
|
|
2959
|
+
|
|
2160
2960
|
# Creates or replaces the resource policy attached to a Continuum
|
|
2161
2961
|
# resource.
|
|
2162
2962
|
#
|
|
@@ -2203,22 +3003,20 @@ module Aws::Continuum
|
|
|
2203
3003
|
req.send_request(options)
|
|
2204
3004
|
end
|
|
2205
3005
|
|
|
2206
|
-
# Starts an OAuth authorization for a new integration
|
|
2207
|
-
#
|
|
2208
|
-
#
|
|
2209
|
-
#
|
|
2210
|
-
#
|
|
3006
|
+
# Starts an OAuth authorization for a new Continuum integration. Returns
|
|
3007
|
+
# a server-stored OAuth `state` nonce and the PKCE code challenge for
|
|
3008
|
+
# the matching code verifier HoFES retains. The caller sends the state
|
|
3009
|
+
# and code challenge to the provider's authorize endpoint;
|
|
3010
|
+
# CreateIntegration redeems the authorization code with the matching
|
|
3011
|
+
# state.
|
|
2211
3012
|
#
|
|
2212
3013
|
# @option params [required, String] :provider_type
|
|
2213
|
-
#
|
|
3014
|
+
# Provider to authorize.
|
|
2214
3015
|
#
|
|
2215
3016
|
# @option params [String] :name
|
|
2216
|
-
#
|
|
2217
|
-
#
|
|
2218
|
-
#
|
|
2219
|
-
# provider. The name is only checked: it is not reserved, stored, or
|
|
2220
|
-
# authorized. CreateIntegration requires its own name, checks it again,
|
|
2221
|
-
# and may use a different one.
|
|
3017
|
+
# Optional name the resulting integration will be created with. When
|
|
3018
|
+
# set, the service pre-reserves the name against the forwarded customer
|
|
3019
|
+
# account.
|
|
2222
3020
|
#
|
|
2223
3021
|
# @return [Types::StartIntegrationAuthorizationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2224
3022
|
#
|
|
@@ -2250,6 +3048,62 @@ module Aws::Continuum
|
|
|
2250
3048
|
req.send_request(options)
|
|
2251
3049
|
end
|
|
2252
3050
|
|
|
3051
|
+
# Adds tags to a Continuum resource, or changes the values of tags that
|
|
3052
|
+
# it already has. Tags that the request doesn't name stay as they are.
|
|
3053
|
+
#
|
|
3054
|
+
# @option params [required, String] :resource_arn
|
|
3055
|
+
# The ARN of the resource to tag.
|
|
3056
|
+
#
|
|
3057
|
+
# @option params [required, Hash<String,String>] :tags
|
|
3058
|
+
# The tags to add, as a map of tag keys to tag values.
|
|
3059
|
+
#
|
|
3060
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3061
|
+
#
|
|
3062
|
+
# @example Request syntax with placeholder values
|
|
3063
|
+
#
|
|
3064
|
+
# resp = client.tag_resource({
|
|
3065
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
3066
|
+
# tags: { # required
|
|
3067
|
+
# "TagKey" => "TagValue",
|
|
3068
|
+
# },
|
|
3069
|
+
# })
|
|
3070
|
+
#
|
|
3071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/TagResource AWS API Documentation
|
|
3072
|
+
#
|
|
3073
|
+
# @overload tag_resource(params = {})
|
|
3074
|
+
# @param [Hash] params ({})
|
|
3075
|
+
def tag_resource(params = {}, options = {})
|
|
3076
|
+
req = build_request(:tag_resource, params)
|
|
3077
|
+
req.send_request(options)
|
|
3078
|
+
end
|
|
3079
|
+
|
|
3080
|
+
# Removes tags from a Continuum resource. A key that the resource
|
|
3081
|
+
# doesn't have is ignored.
|
|
3082
|
+
#
|
|
3083
|
+
# @option params [required, String] :resource_arn
|
|
3084
|
+
# The ARN of the resource to untag.
|
|
3085
|
+
#
|
|
3086
|
+
# @option params [required, Array<String>] :tag_keys
|
|
3087
|
+
# The keys of the tags to remove.
|
|
3088
|
+
#
|
|
3089
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3090
|
+
#
|
|
3091
|
+
# @example Request syntax with placeholder values
|
|
3092
|
+
#
|
|
3093
|
+
# resp = client.untag_resource({
|
|
3094
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
3095
|
+
# tag_keys: ["TagKey"], # required
|
|
3096
|
+
# })
|
|
3097
|
+
#
|
|
3098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UntagResource AWS API Documentation
|
|
3099
|
+
#
|
|
3100
|
+
# @overload untag_resource(params = {})
|
|
3101
|
+
# @param [Hash] params ({})
|
|
3102
|
+
def untag_resource(params = {}, options = {})
|
|
3103
|
+
req = build_request(:untag_resource, params)
|
|
3104
|
+
req.send_request(options)
|
|
3105
|
+
end
|
|
3106
|
+
|
|
2253
3107
|
# Updates the customer-controlled mutable properties of a Collector.
|
|
2254
3108
|
# Only the name and Kubernetes cluster IAM role can be changed.
|
|
2255
3109
|
#
|
|
@@ -2313,8 +3167,8 @@ module Aws::Continuum
|
|
|
2313
3167
|
|
|
2314
3168
|
# Updates the customer-controlled mutable properties of an environment.
|
|
2315
3169
|
# Only the name, the environment's S3 integration source and repository
|
|
2316
|
-
# selections, its scan frequency, its network policy,
|
|
2317
|
-
#
|
|
3170
|
+
# selections, its scan frequency, its network policy, its patch creation
|
|
3171
|
+
# policy, its focus mode, and its pentest configuration can be changed.
|
|
2318
3172
|
#
|
|
2319
3173
|
# @option params [required, String] :environment_id
|
|
2320
3174
|
# The unique identifier of the environment to update.
|
|
@@ -2366,6 +3220,10 @@ module Aws::Continuum
|
|
|
2366
3220
|
# },
|
|
2367
3221
|
# scan_frequency: "ScanFrequency",
|
|
2368
3222
|
# patch_creation_policy: "ENABLED", # accepts ENABLED, DISABLED
|
|
3223
|
+
# focus_mode: "COMPREHENSIVE", # accepts COMPREHENSIVE, FOCUSED
|
|
3224
|
+
# issue_budget: {
|
|
3225
|
+
# max_issues_per_scan: 1, # required
|
|
3226
|
+
# },
|
|
2369
3227
|
# },
|
|
2370
3228
|
# },
|
|
2371
3229
|
# },
|
|
@@ -2393,6 +3251,8 @@ module Aws::Continuum
|
|
|
2393
3251
|
# resp.configuration.code_configuration.environment_configuration.network.allowed_domains[0] #=> String
|
|
2394
3252
|
# resp.configuration.code_configuration.environment_configuration.scan_frequency #=> String
|
|
2395
3253
|
# resp.configuration.code_configuration.environment_configuration.patch_creation_policy #=> String, one of "ENABLED", "DISABLED"
|
|
3254
|
+
# resp.configuration.code_configuration.environment_configuration.focus_mode #=> String, one of "COMPREHENSIVE", "FOCUSED"
|
|
3255
|
+
# resp.configuration.code_configuration.environment_configuration.issue_budget.max_issues_per_scan #=> Integer
|
|
2396
3256
|
# resp.configuration.code_configuration.latest_scan.scan_run_id #=> String
|
|
2397
3257
|
# resp.configuration.code_configuration.latest_scan.status #=> String, one of "SUBMITTED", "WAITING_FOR_BUILD", "BUILDING", "WAITING_FOR_SCAN", "SCANNING", "SUCCEEDED", "FAILED"
|
|
2398
3258
|
# resp.configuration.code_configuration.latest_scan.origin #=> String, one of "MANUAL", "SCHEDULED"
|
|
@@ -2410,23 +3270,15 @@ module Aws::Continuum
|
|
|
2410
3270
|
req.send_request(options)
|
|
2411
3271
|
end
|
|
2412
3272
|
|
|
2413
|
-
#
|
|
2414
|
-
#
|
|
2415
|
-
#
|
|
2416
|
-
#
|
|
2417
|
-
# The caller must have iam:PassRole permission for the supplied role,
|
|
2418
|
-
# including when only the external ID changes. Continuum verifies that
|
|
2419
|
-
# the role can be assumed with the requested external ID and can access
|
|
2420
|
-
# the existing bucket before saving both credentials atomically.
|
|
2421
|
-
# Omitting externalId preserves its current value. Repeating both
|
|
2422
|
-
# current credentials leaves updatedAt unchanged, but still requires
|
|
2423
|
-
# authorization and access validation.
|
|
3273
|
+
# Updates a Continuum integration. Only S3 integrations can be updated
|
|
3274
|
+
# today; GitHub integrations cannot be modified. The integration's
|
|
3275
|
+
# name, provider type, and bucket remain fixed.
|
|
2424
3276
|
#
|
|
2425
3277
|
# @option params [required, String] :integration_id
|
|
2426
3278
|
# The unique identifier of the S3 integration to update.
|
|
2427
3279
|
#
|
|
2428
3280
|
# @option params [required, Types::UpdateProviderConfiguration] :provider_configuration
|
|
2429
|
-
#
|
|
3281
|
+
# Provider-specific changes to apply. The union member must match the
|
|
2430
3282
|
# integration's provider type, and only S3 integrations can be updated.
|
|
2431
3283
|
#
|
|
2432
3284
|
# @return [Types::UpdateIntegrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
@@ -2477,6 +3329,162 @@ module Aws::Continuum
|
|
|
2477
3329
|
req.send_request(options)
|
|
2478
3330
|
end
|
|
2479
3331
|
|
|
3332
|
+
# Updates an existing policy. You can change the description, add rules,
|
|
3333
|
+
# and change rules that have no active policy exception. The name can't
|
|
3334
|
+
# be changed, existing rules can't be removed, and rules with an active
|
|
3335
|
+
# policy exception can't be changed until the exception expires or is
|
|
3336
|
+
# deleted. The policy's ID, ARN, and tags don't change.
|
|
3337
|
+
#
|
|
3338
|
+
# @option params [required, String] :id
|
|
3339
|
+
# The ID of the policy to update.
|
|
3340
|
+
#
|
|
3341
|
+
# @option params [required, Types::SupplyChainPolicy] :policy
|
|
3342
|
+
# The updated policy. The name must match the existing name, and the
|
|
3343
|
+
# rules must include every existing rule ID.
|
|
3344
|
+
#
|
|
3345
|
+
# @return [Types::UpdateSupplyChainPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3346
|
+
#
|
|
3347
|
+
# * {Types::UpdateSupplyChainPolicyResponse#id #id} => String
|
|
3348
|
+
# * {Types::UpdateSupplyChainPolicyResponse#arn #arn} => String
|
|
3349
|
+
# * {Types::UpdateSupplyChainPolicyResponse#policy #policy} => Types::SupplyChainPolicy
|
|
3350
|
+
# * {Types::UpdateSupplyChainPolicyResponse#created_at #created_at} => Time
|
|
3351
|
+
# * {Types::UpdateSupplyChainPolicyResponse#updated_at #updated_at} => Time
|
|
3352
|
+
#
|
|
3353
|
+
# @example Request syntax with placeholder values
|
|
3354
|
+
#
|
|
3355
|
+
# resp = client.update_supply_chain_policy({
|
|
3356
|
+
# id: "PolicyId", # required
|
|
3357
|
+
# policy: { # required
|
|
3358
|
+
# name: "PolicyName", # required
|
|
3359
|
+
# description: "PolicyDescription",
|
|
3360
|
+
# rules: [ # required
|
|
3361
|
+
# {
|
|
3362
|
+
# rule_id: "RuleId", # required
|
|
3363
|
+
# enforcement_mode: "AUDIT", # required, accepts AUDIT, ENFORCE
|
|
3364
|
+
# deny_when: { # required
|
|
3365
|
+
# all_of: [ # required
|
|
3366
|
+
# {
|
|
3367
|
+
# signal: "PACKAGE_IDENTITY", # required, accepts PACKAGE_IDENTITY, INSPECTOR_SEVERITY, KEV, MALICIOUS
|
|
3368
|
+
# operator: "MATCHES", # required, accepts MATCHES, AT_LEAST, EQUALS, NOT_EQUALS, IN, PRESENT
|
|
3369
|
+
# value: {
|
|
3370
|
+
# package_identity: {
|
|
3371
|
+
# ecosystem: "Ecosystem", # required
|
|
3372
|
+
# name: "PackageName", # required
|
|
3373
|
+
# version: "PackageVersion",
|
|
3374
|
+
# version_range: "PackageVersionRange",
|
|
3375
|
+
# },
|
|
3376
|
+
# severity: "LOW", # accepts LOW, MEDIUM, HIGH, CRITICAL, UNTRIAGED
|
|
3377
|
+
# string_value: "ConditionScalar",
|
|
3378
|
+
# string_set: ["ConditionScalar"],
|
|
3379
|
+
# },
|
|
3380
|
+
# },
|
|
3381
|
+
# ],
|
|
3382
|
+
# },
|
|
3383
|
+
# },
|
|
3384
|
+
# ],
|
|
3385
|
+
# },
|
|
3386
|
+
# })
|
|
3387
|
+
#
|
|
3388
|
+
# @example Response structure
|
|
3389
|
+
#
|
|
3390
|
+
# resp.id #=> String
|
|
3391
|
+
# resp.arn #=> String
|
|
3392
|
+
# resp.policy.name #=> String
|
|
3393
|
+
# resp.policy.description #=> String
|
|
3394
|
+
# resp.policy.rules #=> Array
|
|
3395
|
+
# resp.policy.rules[0].rule_id #=> String
|
|
3396
|
+
# resp.policy.rules[0].enforcement_mode #=> String, one of "AUDIT", "ENFORCE"
|
|
3397
|
+
# resp.policy.rules[0].deny_when.all_of #=> Array
|
|
3398
|
+
# resp.policy.rules[0].deny_when.all_of[0].signal #=> String, one of "PACKAGE_IDENTITY", "INSPECTOR_SEVERITY", "KEV", "MALICIOUS"
|
|
3399
|
+
# resp.policy.rules[0].deny_when.all_of[0].operator #=> String, one of "MATCHES", "AT_LEAST", "EQUALS", "NOT_EQUALS", "IN", "PRESENT"
|
|
3400
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.ecosystem #=> String
|
|
3401
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.name #=> String
|
|
3402
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version #=> String
|
|
3403
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.package_identity.version_range #=> String
|
|
3404
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNTRIAGED"
|
|
3405
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_value #=> String
|
|
3406
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set #=> Array
|
|
3407
|
+
# resp.policy.rules[0].deny_when.all_of[0].value.string_set[0] #=> String
|
|
3408
|
+
# resp.created_at #=> Time
|
|
3409
|
+
# resp.updated_at #=> Time
|
|
3410
|
+
#
|
|
3411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicy AWS API Documentation
|
|
3412
|
+
#
|
|
3413
|
+
# @overload update_supply_chain_policy(params = {})
|
|
3414
|
+
# @param [Hash] params ({})
|
|
3415
|
+
def update_supply_chain_policy(params = {}, options = {})
|
|
3416
|
+
req = build_request(:update_supply_chain_policy, params)
|
|
3417
|
+
req.send_request(options)
|
|
3418
|
+
end
|
|
3419
|
+
|
|
3420
|
+
# Replaces the mutable fields of an active policy exception: the rules
|
|
3421
|
+
# it suppresses, the package it applies to, the justification, and the
|
|
3422
|
+
# expiry time. The name and the referenced policy can't be changed, and
|
|
3423
|
+
# an expired exception can't be updated. The exception's ID, ARN, and
|
|
3424
|
+
# tags don't change.
|
|
3425
|
+
#
|
|
3426
|
+
# @option params [required, String] :id
|
|
3427
|
+
# The ID of the policy exception to update.
|
|
3428
|
+
#
|
|
3429
|
+
# @option params [required, Types::SupplyChainPolicyException] :exception
|
|
3430
|
+
# The updated policy exception. The name and policyArn must match the
|
|
3431
|
+
# existing exception.
|
|
3432
|
+
#
|
|
3433
|
+
# @return [Types::UpdateSupplyChainPolicyExceptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3434
|
+
#
|
|
3435
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#id #id} => String
|
|
3436
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#arn #arn} => String
|
|
3437
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#exception #exception} => Types::SupplyChainPolicyException
|
|
3438
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#status #status} => String
|
|
3439
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#created_at #created_at} => Time
|
|
3440
|
+
# * {Types::UpdateSupplyChainPolicyExceptionResponse#updated_at #updated_at} => Time
|
|
3441
|
+
#
|
|
3442
|
+
# @example Request syntax with placeholder values
|
|
3443
|
+
#
|
|
3444
|
+
# resp = client.update_supply_chain_policy_exception({
|
|
3445
|
+
# id: "PolicyExceptionId", # required
|
|
3446
|
+
# exception: { # required
|
|
3447
|
+
# name: "ExceptionName", # required
|
|
3448
|
+
# policy_arn: "PolicyReferenceArn", # required
|
|
3449
|
+
# rule_ids: ["RuleId"], # required
|
|
3450
|
+
# package: { # required
|
|
3451
|
+
# ecosystem: "Ecosystem", # required
|
|
3452
|
+
# name: "PackageName", # required
|
|
3453
|
+
# version: "PackageVersion",
|
|
3454
|
+
# version_range: "PackageVersionRange",
|
|
3455
|
+
# },
|
|
3456
|
+
# justification: "Justification", # required
|
|
3457
|
+
# expires_at: Time.now, # required
|
|
3458
|
+
# },
|
|
3459
|
+
# })
|
|
3460
|
+
#
|
|
3461
|
+
# @example Response structure
|
|
3462
|
+
#
|
|
3463
|
+
# resp.id #=> String
|
|
3464
|
+
# resp.arn #=> String
|
|
3465
|
+
# resp.exception.name #=> String
|
|
3466
|
+
# resp.exception.policy_arn #=> String
|
|
3467
|
+
# resp.exception.rule_ids #=> Array
|
|
3468
|
+
# resp.exception.rule_ids[0] #=> String
|
|
3469
|
+
# resp.exception.package.ecosystem #=> String
|
|
3470
|
+
# resp.exception.package.name #=> String
|
|
3471
|
+
# resp.exception.package.version #=> String
|
|
3472
|
+
# resp.exception.package.version_range #=> String
|
|
3473
|
+
# resp.exception.justification #=> String
|
|
3474
|
+
# resp.exception.expires_at #=> Time
|
|
3475
|
+
# resp.status #=> String, one of "ACTIVE", "EXPIRED"
|
|
3476
|
+
# resp.created_at #=> Time
|
|
3477
|
+
# resp.updated_at #=> Time
|
|
3478
|
+
#
|
|
3479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/continuum-2022-07-26/UpdateSupplyChainPolicyException AWS API Documentation
|
|
3480
|
+
#
|
|
3481
|
+
# @overload update_supply_chain_policy_exception(params = {})
|
|
3482
|
+
# @param [Hash] params ({})
|
|
3483
|
+
def update_supply_chain_policy_exception(params = {}, options = {})
|
|
3484
|
+
req = build_request(:update_supply_chain_policy_exception, params)
|
|
3485
|
+
req.send_request(options)
|
|
3486
|
+
end
|
|
3487
|
+
|
|
2480
3488
|
# @!endgroup
|
|
2481
3489
|
|
|
2482
3490
|
# @param params ({})
|
|
@@ -2495,7 +3503,7 @@ module Aws::Continuum
|
|
|
2495
3503
|
tracer: tracer
|
|
2496
3504
|
)
|
|
2497
3505
|
context[:gem_name] = 'aws-sdk-continuum'
|
|
2498
|
-
context[:gem_version] = '1.
|
|
3506
|
+
context[:gem_version] = '1.10.0'
|
|
2499
3507
|
Seahorse::Client::Request.new(handlers, context)
|
|
2500
3508
|
end
|
|
2501
3509
|
|