-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
What is not working as you expected it?
For AWS provider the sheer debug output with -v option is much better than on azure and gcp
On both of them its a big blackbox what they are doing on CLI outputs.
I cant see what
Where on the platform does it happen?
CLI cnquery / cnspec
How do we replicate the issue?
run any cnspec/cnquery shell/scan gcp/azure -v
Expected behavior (i.e. solution)
Be more verbose.
Which zones/regions are queried.
Which resources are queried
Which requests are being performed.
Are errors happening ?
Most of the AWS errors i could debug because of expressive Debug logs on CLI
Other Comments
Example for Azure with low information
cnspec shell azure --certificate-path ~/certificate.combo.pem --client-id xxxx --tenant-id xxxx --discover all -v
DBG using provider azure with connector azure
DBG Started a new runtime (1 total)
DBG performing request method=GET url=https://releases.mondoo.com/providers/latest.json
DBG Log level set to debug
DBG Started a new runtime (2 total)
→ loaded configuration from /Users/xxxx/.config/mondoo/mondoo.yml using source default
DBG fetch secret from vault secret-id=xxxx vault="In-Memory Vault"
DBG Started a new runtime (3 total)
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG Started a new runtime (4 total)
DBG Started a new runtime (5 total)
DBG Started a new runtime (7 total)
DBG Started a new runtime (6 total)
DBG Started a new runtime (9 total)
DBG Started a new runtime (10 total)
DBG Started a new runtime (8 total)
DBG Started a new runtime (11 total)
DBG Started a new runtime (12 total)
DBG Started a new runtime (13 total)
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG Started a new runtime (14 total)
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxx
DBG initialize client authentication issuer=mondoo/ams kid=//agents.api.mondoo.app/spaces/reverent-joliot-822628/serviceaccounts/xxxxAWS full run -v
full_run.log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels