sym.sdk.templates.template.Template

class sym.sdk.templates.template.Template(srn: Union[sym.sdk.resource.SRN, str])

Bases: sym.sdk.resource.SymResource

The Template object represents a common security workflow supported out of the box by Sym.

Read more about Templates.

Methods

dict()

ignore(*[, message])

Generates a request to fire an Event of type ignore to nullify the incoming Event and send a message to the acting User.

Attributes

name

An alias for this resource’s slug, represented by its SRN.

srn

A SRN object that represents the unique identifier for this resource.

classmethod ignore(*, message: Optional[str] = None, **kwargs)

Generates a request to fire an Event of type ignore to nullify the incoming Event and send a message to the acting User.

Parameters
  • message – The message to send to the User who triggered the original Event.

  • **kwargs – Arbitrary additional values to pass through to the fired Event’s payload.

property name

An alias for this resource’s slug, represented by its SRN.

property srn

A SRN object that represents the unique identifier for this resource.