Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 3.38 KB

File metadata and controls

76 lines (53 loc) · 3.38 KB

mp: Your Google SecOps Marketplace Integration Powerhouse

License Python Version Maintenance

mp, short for **marketplace **, is the official command-line interface (CLI) for developing, maintaining, and deploying Google SecOps marketplace integrations. It streamlines the entire lifecycle from coding to deployment.

Quick Start

1. Install as a persistent tool (Recommended)

Install mp once and use it everywhere:

# Install from the main branch
uv tool install mp --from git+https://github.com/chronicle/content-hub.git#subdirectory=packages/mp

# Use the tool directly:
mp --help

2. One-time usage

Run directly without installing:

uvx --from git+https://github.com/chronicle/content-hub.git#subdirectory=packages/mp mp --help

For more detailed instructions, see the Installation Guide.

Workflow

The mp tool sits at the center of your integration development workflow:

Note

Windows Users: Please use wmp instead of mp for all commands to avoid conflicts with system aliases.

Key Features

  • Build & Package: transforming source code into deployable artifacts and SOAR-supported ZIP files (pack).
  • Quality Assurance: Automated linting (check), formatting (format), and testing (test).
  • Development Loop: Rapidly push changes to your development environment (dev-env).

Command Reference

Command Description Documentation
build Build integrations or playbooks into deployable format. Docs
check Lint and sanity-check your code. Docs
config Configure mp settings. Docs
describe Generate AI descriptions for integration actions. Docs
format Auto-format Python files. Docs
test Run pre-build integration tests. Docs
validate Validate integration structure and metadata. Docs
login Log in to a SecOps environment. Docs
push Push content to the SecOps environment. Docs
pull Pull content from a SecOps environment. Docs
pack Package integrations into SOAR-supported ZIP files. Docs

Documentation

For comprehensive guides on how to contribute:

License

This project is licensed under the Apache License 2.0—see the LICENSE file for details.