getSecurityRulesWithHttpInfo method
Is the secret-detection catalog the engine scans with.
Is the secret-detection catalog the engine scans with. It returns every rule a scan can fire — the id, name and severity a finding cites — so a caller can render or triage results without hard-coding the catalog. It is the same for everyone and discloses nothing tenant-specific, so it carries no org scope.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getSecurityRulesWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/security/rules';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}