sym.sdk.templates.template

Classes

Template

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

TemplateStep

The TemplateStep class represents general steps which may be part of any 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.

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.

class sym.sdk.templates.template.TemplateStep(value)

Bases: str, enum.Enum

The TemplateStep class represents general steps which may be part of any Template.

IGNORE = 'ignore'

Fire an Event of type ignore to ullify the incoming Event and send a message to the acting User