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

Snapshot not reporting the rows in alarm if any of the rows are in error #366

Closed
pskrbasu opened this issue May 30, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@pskrbasu
Copy link
Collaborator

pskrbasu commented May 30, 2024

Powerpipe v0.3.1
Steps to reproduce:

  • Run powerpipe control run aws_compliance.control.kms_cmk_rotation_enabled --share (use a connection/aggregator with a connection with invalid creds that would return at least a row in error)
  • The control run output shows a summary of control rows in alarm + errors
  • But the snapshot only shows the row in error, not the rows in alarm.
  • The data.rows is empty
"data": {
        "columns": [
          {
            "data_type": "TEXT",
            "name": "reason"
          },
          {
            "data_type": "TEXT",
            "name": "resource"
          },
          {
            "data_type": "TEXT",
            "name": "status"
          }
        ],
        "rows": []
      },

Control output:
Screenshot 2024-05-30 at 1 54 14 PM

Snapshot:
Screenshot 2024-05-30 at 1 56 27 PM

Slack discussion thread: https://turbot-community.slack.com/archives/C02NMCM2QKE/p1716988717523809

@pskrbasu pskrbasu added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant