Class: Aws::Continuum::Types::CreatePackageDecisionResponse

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

Overview

Output for CreatePackageDecision.

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)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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