Software Secure Workload
Activity Configure

Get Kubernetes Pod Scanners

This endpoint returns a list of all Kubernetes pod scanners displayed in the Secure Workload cluster for a given VRF.

GET /openapi/kubernetes/{root_scope_name_or_id}/vulnerability_scanning/scanner 

Parameters: The JSON query body contains the following keys

Name

Type

Description

root_scope_name_or_id

string

Root scope name or ID

Response object: Returns an array of registry objects with the following attributes

Attribute

Type

Description

id

string

ID of the scanner

kubernetes_cluster

object

Kubernetes cluster object

health_status

string

Defines scanner health state

health_object

string

Health status object

scanner_action

string

Notifies if the scanner is ENABLED or DISABLED

name

string

Name of the scanner

Health object

Attribute

Type

Description

last_checkin

string

Last reported at time in epoch

scanner_sensor_name

string

Kubernetes node name on which the scanner is running

scanner_sensor_uuid

string

ID of the agent running on the Kubernetes node

status

string

Notifies if health is reported by the scanner

Sample python code


root_app_scope_name = 'Tetration'
restclient.get('/kubernetes/%s/vulnerability_scanning/scanner % root_app_scope_name)