IncapGetDomainApproverEmail

Use this operation to get the list of email addresses that can be used when adding an SSL site

python · Imperva Incapsula

Details

IDIncapGetDomainApproverEmail
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
TagsIncapsula

README

Gets the list of email addresses that can be used when adding an SSL site.

Script Data


Name Description
Script Type python
Tags Incapsula

Dependencies


This script uses the following commands and scripts.

  • incap-get-domain-approver-email

Inputs


Argument Name Description
domain The domain name of the site. For example, www.example.com, hello.example.com, example.com

Outputs


There are no outputs for this script.

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

resp = demisto.executeCommand("incap-get-domain-approver-email", 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.")