SbQuota Deprecated

Deprecated. Use Check Point Threat Emulation (SandBlast) instead. Query, upload and download data using Check Point Sandblast on cloud.

python · Check Point Sandblast Cloud Services (Deprecated)

Source

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401

resp = demisto.executeCommand("sandblast-quota", demisto.args())

if isError(resp[0]):
    demisto.results(resp)
else:
    data = demisto.get(resp[0], "Contents.response")
    if data:
        data = data if isinstance(data, list) else [data]
        data = [{k: formatCell(row[k]) for k in row} for row in data]
        demisto.results({"ContentsFormat": formats["table"], "Type": entryTypes["note"], "Contents": data})
    else:
        demisto.results("No results.")

README

Uses the Quote API to have the client application get the current license and quota status of the API Key that was used.

Script Data


Name Description
Script Type python
Tags sandblast

Dependencies


This script uses the following commands and scripts.

  • sb-quota

Inputs


There are no inputs for this script.

Outputs


There are no outputs for this script.