Get Device Job Summary

List one device's jobs in brief; remediation jobs are not included.

Remediation (Rem Job) entries are absent from this summary whatever tool filter is supplied: a host whose Device Job Info listing held six jobs returned one here, and the five remediation jobs were not among them. Use that endpoint for a complete list of a device's jobs.

This method feature is used to retrieve job summary details for a given host.

Key NameMeaningMandatoryData Type
hostnameHostname of the device for which job summary is requestedYesstring
accountnameName of the account associated with the deviceYesstring
toolTool filter to retrieve job summary (e.g., PM, CM)Noarray
Python SDK code

Install:

pip install secpod-saner-sdk

Call this endpoint:

from saner.cvem import CvemClient

client = CvemClient(
    api_key="<YOUR_API_KEY>",
    accountid="<YOUR_ACCOUNT_ID>",
    base_url="https://saner.secpod.com"
)

response=client.Device.getJobSummary(
    hostname="DemoHost",
    accountname="DemoAccount"
)

print(response)
client.close()

Requires Python 3.9 or later.

Query Params
string
required

Account name used to identify the User

Body Params
request
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json