jfrog_update_permission_target
Modify access permissions for resources in the JFrog platform by updating existing permission targets, including user and group actions like READ, WRITE, DELETE, and DISTRIBUTE.
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"
},
"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"
}