Hi @zeel_sinojia ,
In that case just use source.name.exact:“source_name” / source.name:“source_name” / source.id:“Source_id” instead and download the report
Hi @zeel_sinojia ,
I see the issue , the query you are using will also give you other account details the user has. Instead search , a workaround could be get accounts api or directly download accounts from source itself.
using this you can get all the users with specific account and access.
You do not have to generate a report because you already specifying the access items, report will give you all the source and their access.
Save this search with required attributes and subscribe it you will get the list of users in table. Or Just download the user without access items as you are already filtering them in search query.
OR you can do below as well:
You can prepare a search which will give you list of users as you expecting
Enable “Include Access Details” from the drop down
If there is no hard requirement to use the Search UI, you can explore to use PowerShell script which can call search API with @access(source.name.exact:"SOURCE_NAME"). Parse the response to drop the unwanted information and generate a csv report accordingly.
The workarounds here works. I would just discuss those with the folks and work with one of the way.
I thought when I download the report from the search, it will download the same information as shown on the UI. On search UI, I can see proper details regarding number of accesses a user has from a particular account. I was downloading the report to get the actual access names. The data in the reports disregards the query and download the whole data.
@zeel_sinojia This is how it behaves as you are selecting “Include Access Details” it will bring all the access it has but you can filter them with source name.
Okay. I just thought “Include Access Details” means the details I am getting on the UI, include only those details.
I feel it would be good to get the option to download the reports exactly I see on the UI. Just feels weird to write an query to fetch the curated data on the UI and then download the report and apply filters later on the CSV to get the data for which you already wrote a query.