

# PackageDecisionSummary

A package decision returned by ListPackageDecisions.

## Contents
<a name="API_PackageDecisionSummary_Contents"></a>

 ** canonicalPurl **   <a name="continuum-Type-PackageDecisionSummary-canonicalPurl"></a>
The package URL (purl) that was evaluated, as accepted by the service.  
Type: String  
Length Constraints: Minimum length of 7. Maximum length of 4096.  
Pattern: `pkg:[a-z][a-z0-9-\.]+/.*`   
Required: Yes

 ** completedAt **   <a name="continuum-Type-PackageDecisionSummary-completedAt"></a>
The time the decision was recorded.  
Type: Timestamp  
Required: Yes

 ** decisionId **   <a name="continuum-Type-PackageDecisionSummary-decisionId"></a>
The ID of the decision.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-z0-9]+`   
Required: Yes

 ** enforcementAction **   <a name="continuum-Type-PackageDecisionSummary-enforcementAction"></a>
The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.  
Type: String  
Valid Values: `ALLOW | DENY`   
Required: Yes

 ** enforcementMode **   <a name="continuum-Type-PackageDecisionSummary-enforcementMode"></a>
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.  
Type: String  
Valid Values: `NONE | AUDIT | ENFORCE`   
Required: Yes

 ** evaluatedAction **   <a name="continuum-Type-PackageDecisionSummary-evaluatedAction"></a>
The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.  
Type: String  
Valid Values: `ALLOW | DENY`   
Required: Yes

 ** evaluatedAt **   <a name="continuum-Type-PackageDecisionSummary-evaluatedAt"></a>
The time the package was evaluated. Policy exceptions are applied based on this time.  
Type: Timestamp  
Required: Yes

 ** reason **   <a name="continuum-Type-PackageDecisionSummary-reason"></a>
Why the decision was made.  
Type: String  
Valid Values: `NO_DENY_MATCH | MALICIOUS_PACKAGE | POLICY_RULE_MATCHED`   
Required: Yes

## See Also
<a name="API_PackageDecisionSummary_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/continuum-2022-07-26/PackageDecisionSummary) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/continuum-2022-07-26/PackageDecisionSummary) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/continuum-2022-07-26/PackageDecisionSummary) 