list_findings
¶
list_findings(
agent_space_id: str,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
pentest_job_id: Optional[str] = None,
code_review_job_id: Optional[str] = None,
next_token: Optional[NextToken] = None,
risk_type: Optional[str] = None,
risk_level: Optional[RiskLevel] = None,
status: Optional[FindingStatus] = None,
confidence: Optional[ConfidenceLevel] = None,
name: Optional[str] = None,
) -> ListFindingsOutput
Lists the security findings for a pentest job.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
pentest_job_id(Optional[str], default:None) –The unique identifier of the pentest job to list findings for.
-
code_review_job_id(Optional[str], default:None) –The unique identifier of the code review job to list findings for. Mutually exclusive with pentestJobId.
-
agent_space_id(str) –The unique identifier of the agent space.
-
next_token(Optional[NextToken], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
-
risk_type(Optional[str], default:None) –Filter findings by risk type.
-
risk_level(Optional[RiskLevel], default:None) –Filter findings by risk level.
-
status(Optional[FindingStatus], default:None) –Filter findings by status.
-
confidence(Optional[ConfidenceLevel], default:None) –Filter findings by confidence level.
-
name(Optional[str], default:None) –Filter findings by name.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/security_agent.py
2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 | |