github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/steampipeconfig/testdata/mods/single_mod_one_query/query.pp (about)

     1  
     2  control "query_params_with_defaults_and_partial_named_args" {
     3      title = "Control to test query param functionality with defaults(and some named args passed in query)"
     4      query = query.query_params_with_no_defaults
     5      args = {
     6          "p1" = "command_parameter_1"
     7  
     8      }
     9  }
    10  
    11  query "query_params_with_no_defaults"{
    12      description = "query 1 - 3 params with no defaults"
    13      sql = "select $1::text[]"
    14      param "p1"{
    15          description = "First parameter"
    16          default = ["c","d"]
    17      }
    18  
    19  }