Class: Aws::Continuum::Types::GetPackageDecisionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb

Overview

Output for GetPackageDecision.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#canonical_purl ⇒ String

The package URL (purl) that was evaluated, as accepted by the service.

Returns:

  • (String)


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.

Returns:

  • (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

#decision_id ⇒ String

The ID of the decision.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (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.

Returns:

  • (String)


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