Comments (10)
@florin2528 are you getting this for AWS audit?
from cs-suite.
by running: python cs.py -env aws
from cs-suite.
Ok
I have just ran the cs-suite for aws,with the latest master branch, I couldn't reproduce the error.
Also the curl calls are being made from prowler https://github.com/SecurityFTW/cs-suite/tree/e39adfc6d518ccdfc086e4d89e2bb3ea348c10cb/tools/prowler
could it be possible, if could run prowler separately in cd tools/prowler
and then ./prowler
or if I could share more of the error's which you are getting on the console.
from cs-suite.
root@ip-10-xx-yy-45:~/cs-suite/tools/prowler# ./prowler
curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
_
_ __ _ __ _____ | | ___ _ __
| ' | '/ _ \ \ /\ / / |/ _ \ '|
| |) | | | () \ V V /| | / |
| ./|| ___/ _/_/ ||___||
|| CIS based AWS Account Hardening Tool
from cs-suite.
running the curl commands separately from prowler don't give any error:
root@ip-10-xx-yy-45:~/cs-suite/tools/prowler# curl -s -m 1 http://169.254.169.254/latest/meta-data/iam/security-credentials/
"
404 - Not Found
"from cs-suite.
I guess you are running this from a AWS instance?
I think prowler is trying to authenticate, which can be done in 2 ways
- Either run
aws configure
and add the read-only key and secret - Or the instance which you are running prowler or cs-suite, should be attached to IAM profile
from cs-suite.
yes, that's correct, i'm running from an AWS instance.
The keys are already configured.
but I don't see the connection between curl command syntax error and IAM profile.
from cs-suite.
So here is the code which is doing trying to get the keys
https://github.com/SecurityFTW/cs-suite/blob/master/tools/prowler/prowler#L259
from cs-suite.
I solved the issue by adding an IAM role to that instance.
You can close this issue.
thanks for helping out!
from cs-suite.
Thats great
I think this was a genuine issue, you could possibly report it here
https://github.com/toniblyx/prowler
from cs-suite.
Related Issues (20)
- Azure audit fails when Checking if expiry is enabled for vault secret HOT 2
- Check numbers null in AWS assessment result
- 2.x checking issue HOT 2
- UnboundLocalError: local variable 'j_res' referenced before assignment
- [Azure] Err in module "6.1: Checking if any network group allows public access to RDP"
- I want to contribute HOT 1
- Add support to AWS profiles
- Output results as XML
- modules not outputting to json HOT 2
- Python 2 -> 3 upgrade HOT 2
- How to run this in AWS Lambda?
- How can I run this without subscriptions? HOT 1
- Invalid format timestamp HOT 9
- AWS S3 bucket: region eu-west-3 outside of scope
- Azure's vm_agent() function has poorly written if-else blocks resulting in KeyError
- Curl: option -: is unknown HOT 2
- Possible Broken Dashboard HOT 7
- Update Scout2 HOT 1
- Can't find expired certificates listed in the report
- Unable to install CS-Suite with Pyton3 HOT 1
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 cs-suite.