Commands for interacting with the development environment (playground). This suite of commands helps you manage your connection to the Google SecOps SOAR environment and deploy your integrations for testing.
To use these commands, you'll need the API Root URL and an API Key (or Username/Password).
- Open your SecOps environment in a web browser.
- Open the browser's Developer Console (F12).
- Execute:
localStorage['soar_server-addr'] - Copy the returned URL. This is your API Root.
- Log into your SecOps environment.
- Navigate to Settings → SOAR Settings → Advanced → API Keys.
- Click Create.
- Set Permission Groups to
Admins. - Copy the generated API Key.
Authenticate to the dev environment.
Usage:
mp login [OPTIONS]Options:
| Option | Description | Type | Default |
|---|---|---|---|
--api-root |
API root URL (e.g., https://your-env.siemplify.com). |
str |
None |
--username |
Authentication username. | str |
None |
--password |
Authentication password. | str |
None |
--api-key |
Authentication API key. | str |
None |
--no-verify |
Skip credential verification after saving. | bool |
False |
Build and push an integration to the dev environment.
Usage:
mp push integration [INTEGRATION] [OPTIONS]Arguments:
INTEGRATION: The name of the integration to build and push.
Options:
| Option | Description | Type | Default |
|---|---|---|---|
--src |
Source folder, where the content will be pushed from. | Path |
None |
--staging |
Push integration into staging mode. | bool |
False |
--custom |
Push integration from the custom repository. | bool |
False |
--keep-zip |
Keep the generated zip file after pushing. | bool |
False |
Build and push a playbook to the dev environment.
Usage:
mp push playbook [PLAYBOOK] [OPTIONS]Arguments:
PLAYBOOK: The name of the playbook to build and push.
Options:
| Option | Description | Type | Default |
|---|---|---|---|
--src |
Source folder, where the content will be pushed from. | Path |
None |
--include-blocks |
Push all playbook dependent blocks. | bool |
False |
--keep-zip |
Keep the generated zip file after pushing. | bool |
False |
Build, zip, and upload the entire custom integration repository.
Usage:
mp push custom-integration-repositoryPull and deconstruct an integration from the dev environment.
Usage:
mp pull integration [INTEGRATION] [OPTIONS]Arguments:
INTEGRATION: The integration to pull.
Options:
| Option | Description | Type | Default |
|---|---|---|---|
--dst |
Destination folder. Defaults to the .downloads directory in the repo. |
Path |
None |
--keep-zip |
Keep the zip file after pulling. | bool |
False |
Pull and deconstruct a playbook from the dev environment.
Usage:
mp pull playbook [PLAYBOOK] [OPTIONS]Arguments:
PLAYBOOK: The playbook to pull.
Options:
| Option | Description | Type | Default |
|---|---|---|---|
--dst |
Destination folder. Defaults to the .downloads directory in the repo. |
Path |
None |
--include-blocks |
Pull all playbook dependent blocks. | bool |
False |
--keep-zip |
Keep the zip file after pulling. | bool |
False |