Skip to main content

Get All Tags

GET 

/code/api/v1/tag-rules

Prisma Cloud Application Security 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) Prisma Cloud Application Security tag rules, such as the traceability tag (“yor_trace”) used for code-to-cloud resource tracing and drift detection. Furthermore, Prisma Cloud Application Security enables custom tag rule creation and management (edit, clone, enable, disable and delete).

This API is used to fetch an array of all your existing tag rules. The response includes the following details (for each tag rule):

  • Rule ID
  • Rule Name
  • Description
  • Rule status (enabled/disabled)
  • Repositories - a list of repositories the rule applies to

Request

Responses

Get tags

Schema
  • Array [
  • canDoActions boolean
    createdBy stringrequired
    creationDate stringrequired
    definition objectrequired
    tag_groups object[]required
  • Array [
  • name stringrequired
    tags object[]required
  • Array [
  • name stringrequired
    value objectrequired
    default string
    matches object[]
  • Array [
  • object
  • ]
  • ]
  • ]
  • description string
    id stringrequired
    isEnabled booleanrequired
    name stringrequired
    repositories string[]required
    tagRuleOOTBId string
  • ]
Loading...