Continuum / Paginator / ListDecisionEvidence
ListDecisionEvidence¶
- class Continuum.Paginator.ListDecisionEvidence¶
paginator = client.get_paginator('list_decision_evidence')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Continuum.Client.list_decision_evidence().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( decisionId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
decisionId (string) –
[REQUIRED]
The ID of the decision, as returned by CreatePackageDecision.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'evidence': [ { 'mandatoryBaseline': { 'baselineArn': 'string', 'vulnerabilityIds': [ 'string', ] }, 'policyRuleMatch': { 'policyArn': 'string', 'ruleId': 'string', 'enforcementMode': 'NONE'|'AUDIT'|'ENFORCE' }, 'policyException': { 'exceptionArn': 'string', 'policyArn': 'string', 'ruleIds': [ 'string', ] } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Output for
ListDecisionEvidence.evidence (list) –
The evidence recorded for the decision.
(dict) –
One item of evidence recorded for a decision. Exactly one member is set.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
mandatoryBaseline,policyRuleMatch,policyException. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
mandatoryBaseline (dict) –
The service-managed malicious-package baseline matched the package.
baselineArn (string) –
The ARN of the service-managed policy that matched.
vulnerabilityIds (list) –
The vulnerability IDs that Amazon Inspector associated with the package at evaluation time, returned unchanged. The list doesn’t say which ID caused the malicious verdict. Pass any of them to GetVulnerability.
(string) –
Vulnerability identifier assigned by the vulnerability source, such as CVE-2024-1234, GHSA-xxxx-xxxx-xxxx, or IN-MAL-NPM-2026-782. Any ID in MandatoryBaselineEvidence.vulnerabilityIds is accepted. It is not generated by this service.
policyRuleMatch (dict) –
A rule in one of your policies matched the package.
policyArn (string) –
The ARN of the policy.
ruleId (string) –
The ID of the rule that matched.
enforcementMode (string) –
The enforcement mode of the rule.
policyException (dict) –
A policy exception suppressed one or more matching rules.
exceptionArn (string) –
The ARN of the policy exception.
policyArn (string) –
The ARN of the policy that the exception applies to.
ruleIds (list) –
The IDs of the rules that the exception suppressed.
(string) –
The ID of a rule within a policy.
NextToken (string) –
A token to resume pagination.