Settings
and click on Integrations
.+
button.plerion-signature
. A secret can be any alpha-numeric values and special characters upto 32 characters.
Plerion uses an HMAC hex digest to compute the hash. The hash signature starts with sha256=
, using the key of your secret token and your payload body.
plerion-signature
header.
For this you can set the provided secret as an environment variable on your server and perform necessary operations. Please be advised to not code your security token into you app.
You can follow the examples below for implementing a signature validation:
tenant
: Name of the Tenantintegration
: Name of the IntegrationintegrationUrl
: URL for the Integration.workflow
: Name of the WorkflowworkflowUrl
: URL for the Workflow.alerts
: Array of the alerts that were created/updated/resolved. Properties inside alerts
array are described below:
id
: Contains the unique identifier integer of the Alerttitle
: Contains the title of the Alertresource
: Contains name of the resource or N/A if no asset is linked to the alert. [Unavailable if status/operation is RESOLVED
]alertUrl
: URL to alert on PlerionresourceType
: Contains type of the resource for OPEN
status. [Unavailable if status/operation is RESOLVED
]alertSummary
: An array containing summary of the generated Alert. [Unavailable if status/operation is RESOLVED
]status
: Signifies the status of the alert. Can be OPEN
or RESOLVED
operation
: Signifies the operation of the alert. Can be CREATED
or UPDATED
or RESOLVED
.