jfrog_update_permission_target
Modify permission targets in the JFrog Platform to adjust user and group access rights for resources like artifacts, release bundles, and builds. Define specific actions and patterns.
Instructions
Update an existing permission target in the JFrog platform
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | The name of the permission target to update | |
target | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"name": {
"description": "The name of the permission target to update",
"type": "string"
},
"target": {
"additionalProperties": false,
"properties": {
"created_by": {
"type": "string"
},
"modified_by": {
"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"
},
"default": {},
"description": "The actions that the group can perform on the resource",
"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/target/properties/resources/properties/artifact/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/target/properties/resources/properties/artifact/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
},
"release_bundle": {
"additionalProperties": false,
"properties": {
"actions": {
"$ref": "#/properties/target/properties/resources/properties/artifact/properties/actions"
},
"targets": {
"additionalProperties": {
"$ref": "#/properties/target/properties/resources/properties/artifact/properties/targets/additionalProperties"
},
"type": "object"
}
},
"required": [
"actions",
"targets"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"resources"
],
"type": "object"
}
},
"required": [
"name",
"target"
],
"type": "object"
}