IncapGetAppInfo

Use this operation to retrieve a list of all the client applications

python · Imperva Incapsula

Source

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

resp = demisto.executeCommand("incap-get-app-info", demisto.args())

if isError(resp[0]):
    demisto.results(resp)
else:
    data = demisto.get(resp[0], "Contents")
    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

Retrieves a list of all the clients applications.

Script Data


Name Description
Script Type python
Tags Incapsula

Dependencies


This script uses the following commands and scripts.

  • incap-get-app-info

Inputs


There are no inputs for this script.

Outputs


There are no outputs for this script.