ThreatLocker icon

ThreatLocker

Work with core ThreatLocker portal resources

Application → Create

AI-generated

Summary

Create a new application in the ThreatLocker portal with specified attributes, including its name, operating system type, description, and associated file rules.

Inputs

  • Name (required) — The name of the new application.
  • OS Type (required) — The operating system type for the application, chosen from Windows, macOS, Linux, or Windows XP.
  • Application Description — Optional textual description of the application.
  • File Rules (JSON) — JSON array specifying file rules for the application, detailing file paths and update status.
  • Header Overrides — Optional request header overrides, such as a managed organization ID to use instead of the default from credentials.

Output shape

a single record representing the created application

The output is the JSON response from the ThreatLocker API confirming the creation of the application and including its details. Errors will raise exceptions unless 'Continue On Fail' is enabled.

Examples

Example 1: Create a new Windows application named 'MyApp' with a description and a file rule.

Set 'Name' to 'MyApp', 'OS Type' to 'Windows', optionally provide 'Application Description', and specify 'File Rules (JSON)' to define application files.

Links

Discussion