Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient permissions to perform export from a non admin user #988

Closed
TamarNR opened this issue Mar 28, 2024 · 1 comment
Closed

Insufficient permissions to perform export from a non admin user #988

TamarNR opened this issue Mar 28, 2024 · 1 comment

Comments

@TamarNR
Copy link

TamarNR commented Mar 28, 2024

Hi,

I installed the latest 2.9 version, but getting an error on insufficient permissions to perform operation

C:\Program Files\sonar-tools-master>sonar-measures-export -m ncloc,bugs,vulnerabilities >measures.csv
2024-03-28 12:33:49,097 | sonar-tools | INFO | MainThread | Set debug level to INFO
2024-03-28 12:33:49,097 | sonar-tools | INFO | MainThread | sonar-tools version 2.9
2024-03-28 12:33:49,900 | sonar-tools | INFO | MainThread | Listing projects
2024-03-28 12:33:50,699 | sonar-tools | CRITICAL | MainThread | For request URL https://sonarqube-ee.mot-solutions.com/api/projects/search?qualifiers=TRK&ps=500&p=1
HTTP error 403 - Insufficient permissions to perform operation: Insufficient privileges
FATAL: For request URL https://sonarqube-ee.mot-solutions.com/api/projects/search?qualifiers=TRK&ps=500&p=1
HTTP error 403 - Insufficient permissions to perform operation: Insufficient privileges

Was it not supposed to be allowed in this version for non admin users to perform the export?

Version 2.9 - March 2024
Improvements:
Allow non admin tokens for sonar-tools not requiring them - #946 (Credit @raspy)

Thanks,
Tamar

@TamarNR TamarNR changed the title nsufficient permissions to perform export from a non admin user Insufficient permissions to perform export from a non admin user Mar 28, 2024
@TamarNR TamarNR closed this as completed Apr 2, 2024
@TamarNR
Copy link
Author

TamarNR commented Apr 2, 2024

There was a need to specify the -k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant