Create Custom Tag Rule

Bridgecrew supports tagging management for IaC templates, based on the company’s open-source tool Yor (https://yor.io/).
With tag rules, you can manage your tagging strategies easily across providers and repositories,
even before they go live.
Such capability allows users to enable out-of-the-box (OOTB) Bridgecrew tag rules,
such as the traceability tag (“yor_trace”) used for code-to-cloud resource tracing and drift detection.
Furthermore, Bridgecrew enables custom tag rule creation and management (edit, clone, enable, disable and delete).
You can check out the full documentation here:
https://docs.bridgecrew.io/docs/manage-tag-rules

This API is used to save a new custom tag rule definition based on input of:

  • Repositories
  • Rule definition
  • Key name
  • Rule status (enabled/disabled)
  • Description (a sentence explaining the rule)

The response includes:

  • Repositories where the rule is applied
  • Rule Definition
  • Rule status (enabled/disabled)
  • Rule ID
  • Rule name
  • Description
Language
Authentication
Header
Click Try It! to start a request and see the response here!