Welcome to the New BigPanda API Documentation
Bearer:Authorization: Bearer <your_user_api_key>owner, priority, or data_center. A tag is a container. On its own it holds no values. It applies a value to an alert only when an enrichment item matches that alert.https://mywiki.com/${host}/${check}.Lookup columns are not added to alerts Lookup (query) values must already exist in the raw event or an earlier tag. BigPanda uses them only to find a matching row. It adds only the result values to the alert.
host tag must run after host is set. Use the order endpoints described below to control this sequence.| Your task | Endpoint family | Base path |
|---|---|---|
| Create and manage tags, and manage the rules inside each tag together | Alert tags (tag-scoped) | /resources/v2.1/enrichments-config/tags |
| Manage individual rule-based enrichment items by their own ID | Alert enrichment items (item-scoped) | /resources/v2.1/alert-enrichments |
| Control the order that tags and rules run in | Enrichment order | /resources/v2.1/enrichments-config and .../order |
| Upload and maintain a lookup table (schema plus CSV) | Mapping enrichment | /resources/v2.1/mapping-enrichment |
| Use advanced mapping capabilities | Advanced mapping enrichment | /resources/alert-enricher/schemas |
/resources/v2.1/enrichments-config/tags treats the tag as the primary object. You create a tag and its rules together, and you address rules through their parent tag, for example POST /resources/v2.1/enrichments-config/tags/{alerttag_name}/enrichments./resources/v2.0/alert-enrichments treats each enrichment item as an independent object addressed by its own enrichment_id, for example PATCH /resources/v2.0/alert-enrichments/{enrichment_id}.Match versions within a workflow Pick one family for a given task and stay in it. Mixing tag-scoped and item-scoped calls, or v2.0 and v2.1 mapping calls, on the same objects can produce confusing results.
/resources/v2.1/mapping-enrichment is the current model. You create a schema, then upload a CSV map to it, and track the upload with a Job./resources/alert-enricher/schemas unlocks additional capabilities but requires a manual migration. Its schemas conflict with previous enrichment schemas, so coordinate with your account team before you use it.Advanced mapping enrichment requires migration The advanced capabilities of the Alert Enricher conflict with previous alert enrichment schemas. Reach out to your account team and confirm your organization is ready before you call the /resources/alert-enricher/schemasendpoints.
POST request to /resources/v2.1/enrichments-config/tags. Give the tag a name that meets the tag naming requirements, and include the enrichment items in the request. Each item requires a config object, and composition and extraction items require different fields.GET request to /resources/v2.1/enrichments-config/tags/{alerttag_name} to verify the tag and its rules were created as expected.PUT request to /resources/v2.1/enrichments-config to place the source tag before this one, or to /resources/v2.1/enrichments-config/tags/{alerttag_name}/order to order the rules within the tag.Changes apply to new alerts only BigPanda applies a new or updated enrichment tag to alerts that arrive after you save it. Existing alerts keep the values they already have.
POST request to /resources/v2.1/mapping-enrichment. For each column in your table, specify the name and whether it is a lookup (query) column or a result column, along with the override behavior. Copy the schema id from the response.POST request to /resources/v2.1/mapping-enrichment/{mapschema_id}/map, using the id from the previous step. Send the data as CSV in the request body or as a CSV file. The columns must match the schema exactly. This starts an asynchronous job and returns a Job reference.GET request to /resources/v2.1/alert-enrichments-jobs/{job_id} and check the status until the upload completes successfully.Include the analytics flag columns To visualize enrichment rates accurately in Unified Analytics (UA), include the two enrichment flag columns in your CSV, as described in the Enrichment Maps documentation.
PATCH request to /resources/v2.1/enrichments-config/tags/{alerttag_name} to change the tag, or to .../enrichments to change its rules. To edit a single item by its ID, send a PATCH request to /resources/v2.0/alert-enrichments/{enrichment_id}.PATCH request to /resources/v2.1/mapping-enrichment/{mapschema_id}/map with the rows to add, update, or delete. Track the change with the returned Job.Reordering and mapping reuploads When you reupload a mapping table, its enrichment items revert to the created-first order. If you reordered mapping items in the UI, reapply that order, or arrange the columns in the CSV to match the run order you want.
| Task | Method and path |
|---|---|
| List all alert tags | GET /resources/v2.1/enrichments-config/tags |
| Create an alert tag | POST /resources/v2.1/enrichments-config/tags |
| Retrieve, update, or delete a tag | GET, PATCH, DELETE /resources/v2.1/enrichments-config/tags/{alerttag_name} |
| Create a rule in a tag | POST /resources/v2.1/enrichments-config/tags/{alerttag_name}/enrichments |
| Update or delete a rule in a tag | PATCH, DELETE /resources/v2.1/enrichments-config/tags/{alerttag_name}/enrichments |
| Manage a single rule by ID | GET, PATCH, DELETE /resources/v2.1/alert-enrichments/{enrichment_id} |
| Set the tag run order | PUT /resources/v2.1/enrichments-config |
| Set the rule order within a tag | PUT /resources/v2.1/enrichments-config/tags/{alerttag_name}/order |
| List or create a mapping schema | GET, POST /resources/v2.1/mapping-enrichment |
| Retrieve, update, or delete a schema | GET, PATCH, DELETE /resources/v2.1/mapping-enrichment/{mapschema_id} |
| Upload a mapping table (CSV) | POST /resources/v2.1/mapping-enrichment/{mapschema_id}/map |
| Change specific mapping rows | PATCH /resources/v2.1/mapping-enrichment/{mapschema_id}/map |
| Check a mapping upload job | GET /resources/v2.1/alert-enrichments-jobs/{job_id} |
| Manage advanced mapping schemas | /resources/alert-enricher/schemas |