-
Notifications
You must be signed in to change notification settings - Fork 862
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
AWSSDK.Core triggers CWE-798 - Hardcoded credentials #3240
Comments
This appears to be false CWE at
|
P124646133 |
@skirk-mpr I reviewed this issue with the team. There doesn't appear to be a way to ignore this false positive reported by AWS Inspector. I have opened internal ticket with AWS Inspector team to get their inputs on how to disable such false positives. Would report any updates here as it is available. |
@ashishdhingra -- thanks so much, appreciate you circling back regarding this! Figured there wasn't really something warranting a fix on the SDK side, but either way, wanted to flag it so your team was aware. Also, somilar thing is also getting flagged with |
@skirk-mpr Additionally you might refer Suppressing Amazon Inspector findings with suppression rules on how to create rule to suppress such warnings. |
Thank you, @ashishdhingra! |
@skirk-mpr I would close this issue for now since I have created ticket for the service team. They are working internally on a fix. |
Comments on closed issues are hard for our team to see. |
@skirk-mpr Based on communication from service team, looks like they have implemented fix to exclude AWS SDK(s) from scanning. |
Describe the bug
This is more of an FYI but our organization just turned on AWS Inspector for AWS Lambda and we are getting false positives for the finding CWE-798 - Hardcoded credentials in AWSSDK.Core.
From the finding it looks like its complaining because the string 'password' is contained within the name of a property (EC2InstancePassword).
Expected Behavior
Not trigger CWE-798 - Hardcoded credentials
Current Behavior
Triggers CWE-798 - Hardcoded credentials
Reproduction Steps
Deploy Lambda with AWSSDK.Core and run AWS Inspector against it.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core
Targeted .NET Platform
.NET 6
Operating System and version
AmazonLinux
The text was updated successfully, but these errors were encountered: