jfrog_create_permission_target
Set up a new permission target in the JFrog Platform to manage access control for artifacts, release bundles, and build resources by defining users, groups, and patterns.
Instructions
Create a new permission target in the JFrog platform
Input Schema
Name | Required | Description | Default |
---|---|---|---|
created_by | No | ||
modified_by | No | ||
name | Yes | ||
resources | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"created_by": {
"type": "string"
},
"modified_by": {
"type": "string"
},
"name": {
"type": "string"
},
"resources": {
"additionalProperties": false,
"properties": {
"artifact": {
"additionalProperties": false,
"properties": {
"actions": {
"additionalProperties": false,
"properties": {
"groups": {
"additionalProperties": {
"items": {
"enum": [
"READ",
"WRITE",
"ANNOTATE",
"DELETE",
"DISTRIBUTE",
"MANAGE"
],
"type": "string"
},
"type": "array"
},
"type": "object"
},
"users": {
"additionalProperties": {
"items": {
"enum": [
"READ",
"WRITE",
"ANNOTATE",
"DELETE",
"DISTRIBUTE",
"MANAGE"
],
"type": "string"
},
"type": "array"
},
"type": "object"
}
},
"required": [
"users"
],
"type": "object"
},
"targets": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"exclude_patterns": {
"items": {
"type": "string"
},
"type": "array"
},
"include_patterns": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"include_patterns",
"exclude_patterns"
],
"type": "object"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
},
"build": {
"additionalProperties": false,
"properties": {
"actions": {
"$ref": "#/properties/resources/properties/artifact/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/resources/properties/artifact/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
},
"release_bundle": {
"additionalProperties": false,
"properties": {
"actions": {
"$ref": "#/properties/resources/properties/artifact/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/resources/properties/artifact/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"name",
"resources"
],
"type": "object"
}