How can I find all datasets with a particular security marking?

When attempting to audit the usage of a marking, is there a way through the UI or through APIs to identify all datasets (to which I have view+ permissions) that have a particular marking?

The Access Graph view gives the ability to view all projects with a particular marking but not datasets.

1 Like

I’m not aware of public documentation, but you can do this with the “MarkingFilter” search filter in the Compass search API endpoint.

You are surfacing the same auditability issue I raised to the product development team since a while. I have raised a improvement proposal but to no avail - let alone Org Markings.

Security Marking Auditability - Propose an Improvement - Palantir Developer Community

Organization Markings Auditability Across Enrollment - Propose an Improvement - Palantir Developer Community

Could you be more specific about the API endpoint you are referring to? Could you pass the URL here?

2 Likes

@kchen Yes, could you perhaps share that endpoint please as @HugoRodrigues mentions. I have the same issue. I want to add project constraints on a project, but it still lists lots of markings I can’t find on datasets, that should not be in this project. But I cannot find a way of listing the datasets with the markings.

Markings should at least be an option in the search, but it isn’t there:

curl -H "Authorization: Bearer $TOKEN" -H "Content-type: application/json"  \
  "https://$HOSTNAME/compass/api/search?includeOperations=false&limit=10" \
  -d '{"text": "<search query>", "filter": {"and": [{"marking": "<marking ID>"}, {"inPath": "/"}]}}'
3 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.