format - Demisto SDK Guide - Cortex - Security Operations

Demisto SDK Guide

Creation date
2023-08-01
Last date published
2024-04-01
Category
Demisto SDK Guide
Abstract

The format command formats content you create to match Cortex standards.

Format a Cortex XSIAM or Cortex XSOAR entity in accordance with our standards. In some cases, when a file is downloaded from the Cortex XSIAM or Cortex XSOAR tenant, it might contain additional fields that are not required when entering the entity to the content repository. The format command removes the unnecessary fields and make any fixes required for existing fields.

This command is used to keep new or modified files in-line with the Cortex standard. This is useful when developing a new integration, script, playbook, incident field, incident type, indicator field, indicator type, layout, or dashboard. When formatting is complete, the validate command runs, to notify you of any issues the format command could not fix.