getSecurityScansWithHttpInfo method
Is the org's scan history, newest first, each as the same summary the submission answered — files read, findings fired, tally by severity.
Is the org's scan history, newest first, each as the same summary the submission answered — files read, findings fired, tally by severity. Strictly org-scoped: a caller only ever sees its own scans, and one with no validated org is refused.
Note: This method returns the HTTP Response.
Parameters:
- int limit: Limit caps the page.
Implementation
Future<Response> getSecurityScansWithHttpInfo({ int? limit, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/security/scans';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}