Comments (5)
Hi @imvignesh27, thanks for the report.
In our test environment, we are failing to replicate this error, it is likely the issue may lie with the credentials that you are using. Please refer to the documentation to ensure all permissions are correctly set and the service principal application is properly created. Also, verify if the subscription ID is well typed and exists in the same tenant as the service principal application.
If the error persists, send the output again adding the --log-level ERROR
flag and omit the --subscription-id
to further isolate the issue.
from prowler.
I'm just getting the below error :
2024-04-15 11:45:24,236 [File: azure_provider.py:275] [Module: azure_provider] ERROR: ClientAuthenticationError[269] -- DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
EnvironmentCredential: Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
2024-04-15 11:45:29,386 [File: azure_provider.py:350] [Module: azure_provider] CRITICAL: Error with credentials provided getting subscriptions and tenants to scan
2024-04-15 11:45:29,387 [File: azure_provider.py:353] [Module: azure_provider] CRITICAL: ClientAuthenticationError[324] -- DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
EnvironmentCredential: Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
from prowler.
Hi again @imvignesh27, I have been studying your problem further and my conclusion is that the problem with the cert verify could be because you are using a system with a proxy configured.
If it is the case refer to the official documentation of Microsoft, if it is not the case I could need more details of your system or about the Service Principal that you use to authenticate because it was impossible to me to reproduce the same error on a Kali machine. Thanks for the feedback and I wait for your response.
from prowler.
Yes, I think the proxy is the problem. I'm also running in kali machine. I had generated the AWS report but azure only I'm getting these errors. I will refer your document link and comeback to u 👍
from prowler.
Hi @imvignesh27, we are closing this issue. Please feel free to reopen it if you notice the same behaviour or if you want to add something.
Thanks for using Prowler 🚀
from prowler.
Related Issues (20)
- [Bug]: Kubernetes RBAC errors HOT 10
- Bring back HTML reports HOT 1
- Getting FileNotFoundError while trying to set up prowler for aws HOT 13
- Getting Error when using prowler dashboard command - UnicodeDecodeError 'utf-8' codec can't decode byte 0x92 in position 5171 HOT 22
- [Bug]: Unix timestamp not working
- [Bug]: Pre-commit Execution Failure Due to Missing TruffleHog Dependency HOT 1
- Check28 Fails despite key rotation activated HOT 2
- Join the Prowler Slack Community!
- [Bug]: ec2_securitygroup_default_restrict_traffic Triggers on unused, default security groups HOT 3
- [Bug]: 'NoneType' object has no attribute 'client' with Prowler 4.2.1 HOT 10
- [Bug]: Inconsistent severity assigned to iam_no_custom_policy_permissive_role_assumption HOT 3
- [Bug]: Unable to generate pydantic-core schema for <class 'prowler.lib.check.compliance_models.CIS_Requirement_Attribute_Profile'>. HOT 12
- [Bug]: [File: azure_provider.py:333] [Module: azure_provider] CRITICAL: It was not possible to retrieve any subscriptions, please check your permission assignments HOT 1
- [Bug]: Missing docker image for ARM HOT 1
- [Bug]: Trusted Advisor checks does not complete when access is denied
- Stuck in Poetry install HOT 2
- [Bug]: Dashboard overview no longer has pages HOT 2
- [Bug]: Unable to filter muted findings in HTML output HOT 3
- [Bug]: HTML outputs no filters
- [Bug]: Prowler gets stuck / fails when running Lambda check against account with LZA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prowler.