getSecurityHealthWithHttpInfo method

Future<Response> getSecurityHealthWithHttpInfo()

Reports that the scanning subsystem is serving and how many secret-detection rules the engine holds.

Reports that the scanning subsystem is serving and how many secret-detection rules the engine holds. It has no external dependency — the answer is ok whenever the findings store opened — so it measures this process rather than anything downstream. It reads no tenant: a prober that sends no principal is answered, not refused.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getSecurityHealthWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/security/health';

  // 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,
  );
}