GetLicenseID

Returns the license ID.

python · Common Scripts

Source

from CommonServerPython import *


def main():
    human_readable, context_data = get_license_id()
    return_outputs(human_readable, context_data)


def get_license_id():
    license_id = demisto.getLicenseID()
    human_readable = tableToMarkdown("Cortex XSOAR License ID", license_id, headers="License ID")
    return human_readable, {"License": {"ID": license_id}}


if __name__ in ("__main__", "__builtin__", "builtins"):
    main()

README

Returns the license ID.

Script Data

Outputs

Path Description Type
License.ID The license ID string