Hello Community,
I would like to configure the integration of Confluence cloud with MS Copilot. But I need to create a CQL filter using Data Classification value as parameter. The goal is to filter out content with a certain sensitivity label (e.g. Confidential data).
It seems that Data Classification is not a recognized parameter in CQL based on this page: Advanced Searching using CQL
Is there any plan to add the Data classification as a CQL filter parameter and in which timing? If not, what is the work around?
Thanks,
Jo
Hi @MaricqJohan, the CQL parser has no such field, so there is nothing undocumented for you to find. Microsoft’s connector doc names GET /wiki/rest/api/content/search as the crawl call, and I ran your filter straight at it on my own site:
GET /wiki/rest/api/content/search?cql=classification%20%3D%20%22Confidential%22
400 No field exists with the name: 'classification'
Did you mean one of : created, content, creator, container, contributor
classificationLevel returns the same 400, and cql=type=page returns results on that same endpoint, so it is the field it is rejecting. Guard classification is off on my site, though the CQL field reference does not list it either.
I cannot give you a date: CONFCLOUD-84214 is still Gathering Interest and both comments on it are from customers.
My read is that the crawl account is the control you actually have here. The index is whatever that account can read, and Microsoft syncs permission changes on the daily full crawl only, so a cut takes up to a day to clear pages already indexed. What account is yours crawling as?