Skip to content

Latest commit

 

History

History
119 lines (82 loc) · 2.88 KB

File metadata and controls

119 lines (82 loc) · 2.88 KB

mp build

Build content from the Content Hub and transform it into a format suitable for the Google SecOps SOAR platform.

Usage

mp build [SUBCOMMAND] [OPTIONS]

Subcommands

integration

Build specific response integrations.

Usage:

mp build integration [INTEGRATIONS]... [OPTIONS]

Arguments:

  • INTEGRATIONS: A list of integration names to build.

Options:

Option Shorthand Description Type Default
--src Customize source folder to build or deconstruct from. Path None
--dst Customize destination folder to build or deconstruct to. Path None
--deconstruct -d Deconstruct built integrations instead of building them. bool False
--custom-integration Build a specific integration from the custom repository. bool False
--quiet -q Log less on runtime. bool False
--verbose -v Log more on runtime. bool False

playbook

Build specific playbooks.

Usage:

mp build playbook [PLAYBOOKS]... [OPTIONS]

Arguments:

  • PLAYBOOKS: A list of playbook names to build.

Options:

Option Shorthand Description Type Default
--src Customize source folder to build or deconstruct from. Path None
--dst Customize destination folder to build or deconstruct to. Path None
--deconstruct -d Deconstruct built playbooks instead of building them. bool False
--quiet -q Log less on runtime. bool False
--verbose -v Log more on runtime. bool False

repository

Build an entire content repository.

Usage:

mp build repository [REPOSITORIES]... [OPTIONS]

Arguments:

  • REPOSITORIES: One or more repository types to build. Options:
    • google: Commercial integrations.
    • third_party: Community and partner integrations.
    • custom: Custom integrations.
    • playbooks: Playbooks.

Options:

Option Shorthand Description Type Default
--quiet -q Log less on runtime. bool False
--verbose -v Log more on runtime. bool False

Examples

Build specific integrations

mp build integration my_integration another_integration

Deconstruct an integration

mp build integration my_integration --deconstruct

Build a specific playbook

mp build playbook my_playbook

Build the entire commercial repository

mp build repository google

Deprecated Usage

The following flag-based usage is deprecated and will be removed in future versions. Please use the subcommands above.

mp build --integration <name>
mp build --playbook <name>
mp build --repository <type>