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

sqs.getQueueAttributes fails when queue does not have SSE enabled #102

Closed
cmoore-cimpress opened this issue Mar 22, 2018 · 1 comment
Closed

Comments

@cmoore-cimpress
Copy link

https://github.com/cloudsploit/scans/blob/924444b979b3f6298462c7eb13dc962cc28546dd/collectors/sqs/getQueueAttributes.js#L15

We are observing an issue where the SQS plugin returns UNKNOWN for queues that don't have server-side encryption enabled, even when performing the "Cross Account Access" check.

I suspect it is because the KmsMasterKeyId attribute of the getQueueAttributes API call is not allowed on queues without SSE. Using the aws cli, for example, I get error:

An error occurred (InvalidAttributeName) when calling the GetQueueAttributes operation: Unknown Attribute KmsMasterKeyId

@matthewdfuller
Copy link
Contributor

This should now be resolved with 5a5accb

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

2 participants