Viewing artifact sharing information
Learn about how to check with which users or groups an artifact is shared with.
Jobs
You can check with which users or groups a specific Job is shared with.
- In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
- Click Jobs.
- Click the Job for which you want to see the sharing information.
- Click Sharing. You can see the details of the user or group with whom the Job is shared with and the type of access provided.
Job runs
You can check with which users or groups a specific Job Run is shared with.
- In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
- Click Job Runs.
- Click the job run for which you want to see the sharing information.
- Click Sharing. You can see the details of the user or group with whom the job run is shared with and the type of access provided.
Sessions
You can check with which users or groups a specific Session is shared with.
- In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
- Click Sessions.
- Click the session for which you want to see the sharing information.
- Click Sharing. You can see the details of the user or group with whom the session is shared with and the type of access provided.
Viewing artifact sharing information through Cloudera Data Engineering CLI
Run the following command to see the information about the users or the groups with whom the artifact is shared with:
./cde <***ARTIFACT_TYPE***> describe --name <***ARTIFACT_NAME***>
Where, <***ARTIFACT_TYPE***> is job, job run, session, repository, or resource and <***ARTIFACT_NAME***> is the name of the artifact.
For example: The following example is for jobs.
./cde job describe --name cli-sample
{
"name": "cli-sample",
"type": "spark",
...
...
"acls": {
"full_access": {
"users": [
"fullaccess1",
"fullaccess2"
],
"groups": [
"group2"
]
},
"view_only": {
"users": [
"cdpuser2",
"cdpuser3"
],
"groups": [
"group1"
]
}
},
"aclsInfo": {
"accessLevel": "FULL_ACCESS",
"grantedAt": "2025-04-09T04:54:07.953974557Z"
}
}
Viewing artifact sharing information through Cloudera Data Engineering API
Run the following JSON payload to view the the information about the users or the
groups with whom the artifact is shared with in the
endpoint:
curl -X GET \
<jobs_api_url>/jobs/<***JOB_NAME***> \
-H "Authorization: Bearer ${CDE_TOKEN}" \
-H "accept: application/json"
For example,curl -X GET \
https://qnrjlcs6.cde-fllv7d7m.apps.apps.shared-rke-dev-01.kcloud.cloudera.com/dex/api/v1/jobs/job-1 \
-H "Authorization: Bearer ${CDE_TOKEN}" \
-H "Content-Type: application/json"
{
"name": "job-1",
"type": "spark",
...
"acls": {
"full_access": {
"users": ["user1", "user2"],
"groups": ["group1", "group2"]
},
"view_only": {
"users": ["user3"],
"groups": ["group3"]
}
}