Fix STEAMPIPE_DIAGNOSTIC_LEVEL over STEAMPIPE_DIAGNOSTICS_LEVEL
rajlearner17 opened this issue · comments
Raj commented
SDK: v5.6.0-rc.29
CLI: v0.21.0-beta.1,
STEAMPIPE_DIAGNOSTIC_LEVEL does not work even though we get a warning in the CLI to use it
Though it says below to use STEAMPIPE_DIAGNOSTIC_LEVEL
when using it, it does not render any diagnostics settings under it
➜ ~ steampipe query
Warning: Environment variable STEAMPIPE_DIAGNOSTICS_LEVEL is deprecated - use STEAMPIPE_DIAGNOSTIC_LEVEL
Welcome to Steampipe v0.21.0-beta.1
For more information, type .help
>
When using STEAMPIPE_DIAGNOSTIC_LEVEL=ALL
output
> select jsonb_pretty(_ctx), * from aws_s3_bucket limit 1
[
{
"_ctx": {
"connection_name": "aws"
},
"account_id": "123453682495",
"acl": {
"Grants": [
{
"Grantee": {
.....
When using STEAMPIPE_DIAGNOSTICS_LEVEL=ALL
output
> select jsonb_pretty(_ctx), * from aws_s3_bucket limit 1
[
{
"_ctx": {
"connection_name": "aws",
"diagnostics": {
"calls": [
{
"function_name": "listS3Buckets",
"rate_limiter_delay_ms": 0,
"rate_limiters": [],
"scope_values": {
"action": "ListBuckets",
"connection": "aws",
"function_name": "listS3Buckets",
"service": "s3",
"table": "aws_s3_bucket"
},
"type": "list"
kaidaguerre commented
works in rc.30