Class: Aws::Continuum::Types::CreatePackageDecisionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::CreatePackageDecisionResponse
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
Output for CreatePackageDecision.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#canonical_purl ⇒ String
The package URL (purl) that was evaluated, as accepted by the service.
-
#decision_id ⇒ String
The ID of the decision.
-
#enforcement_action ⇒ String
The action to take.
-
#enforcement_mode ⇒ String
The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule.
-
#evaluated_action ⇒ String
The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.
-
#reason ⇒ String
Why the decision was made.
Instance Attribute Details
#canonical_purl ⇒ String
The package URL (purl) that was evaluated, as accepted by the service.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#decision_id ⇒ String
The ID of the decision. Use it with GetPackageDecision and ListDecisionEvidence.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#enforcement_action ⇒ String
The action to take. It differs from evaluatedAction only when enforcementMode is AUDIT: evaluatedAction is then DENY and enforcementAction is ALLOW.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#enforcement_mode ⇒ String
The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#evaluated_action ⇒ String
The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
Why the decision was made.
868 869 870 871 872 873 874 875 876 877 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 868 class CreatePackageDecisionResponse < Struct.new( :decision_id, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |