Skip to main content

1E 23.7 (SaaS)

Policy.GetSummary

Method

GetSummary

Module

Policy

Library

Core

Action

Get a summary of the current policy applied to this Tachyon Agent.

Parameters

None

Return values

EventSubscriptionCount (integer): The number of event subscriptions contained within the policy.

Hash (string): The SHA-256 hash of the policy document content (or empty if there is no active policy).

RuleCount (integer): The number of rules contained within the policy.

Size (integer): The size in bytes of the policy document content.

Timestamp (string): The date and time at which the policy was downloaded and applied.

Example

Policy.GetSummary();

Platforms

  • Windows

  • Linux

  • MacOS

Notes

If the policy engine has been disabled through configuration, this method returns no data.

This method will return example data (for testing) in TIMS, because TIMS uses an alternative policy engine.