Class: Aws::Continuum::Types::GetPackageDecisionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::GetPackageDecisionResponse
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
Output for GetPackageDecision.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#canonical_purl ⇒ String
The package URL (purl) that was evaluated, as accepted by the service.
-
#completed_at ⇒ Time
The time the decision was recorded.
-
#decision_id ⇒ String
The ID of the decision.
-
#enforcement_action ⇒ String
The action the caller was told 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.
-
#evaluated_at ⇒ Time
The time the package was evaluated.
-
#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.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#completed_at ⇒ Time
The time the decision was recorded.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#decision_id ⇒ String
The ID of the decision.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#enforcement_action ⇒ String
The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :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.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :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.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#evaluated_at ⇒ Time
The time the package was evaluated. Policy exceptions are applied based on this time.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
Why the decision was made.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2824 class GetPackageDecisionResponse < Struct.new( :decision_id, :evaluated_at, :completed_at, :canonical_purl, :evaluated_action, :enforcement_action, :enforcement_mode, :reason) SENSITIVE = [] include Aws::Structure end |