github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/tests/acceptance/test_data/templates/expected_check_snapshot.sps (about)

     1  {
     2      "end_time": "2022-12-15T20:12:43.270226+05:30",
     3      "inputs": {},
     4      "layout": {
     5          "name": "control_rendering_test_mod.control.sample_control_mixed_results_1",
     6          "panel_type": "control"
     7      },
     8      "panels": {
     9          "control_rendering_test_mod.control.sample_control_mixed_results_1": {
    10              "data": {
    11                  "columns": [
    12                      {
    13                          "data_type": "TEXT",
    14                          "name": "reason"
    15                      },
    16                      {
    17                          "data_type": "TEXT",
    18                          "name": "resource"
    19                      },
    20                      {
    21                          "data_type": "TEXT",
    22                          "name": "status"
    23                      },
    24                      {
    25                          "data_type": "INT4",
    26                          "name": "id"
    27                      }
    28                  ],
    29                  "rows": [
    30                      {
    31                          "id": "16",
    32                          "reason": "Resource has some error",
    33                          "resource": "steampipe",
    34                          "status": "error"
    35                      },
    36                      {
    37                          "id": "17",
    38                          "reason": "Resource has some error",
    39                          "resource": "steampipe",
    40                          "status": "error"
    41                      },
    42                      {
    43                          "id": "11",
    44                          "reason": "Resource does not satisfy condition",
    45                          "resource": "steampipe",
    46                          "status": "alarm"
    47                      },
    48                      {
    49                          "id": "12",
    50                          "reason": "Resource does not satisfy condition",
    51                          "resource": "steampipe",
    52                          "status": "alarm"
    53                      },
    54                      {
    55                          "id": "13",
    56                          "reason": "Resource does not satisfy condition",
    57                          "resource": "steampipe",
    58                          "status": "alarm"
    59                      },
    60                      {
    61                          "id": "14",
    62                          "reason": "Resource does not satisfy condition",
    63                          "resource": "steampipe",
    64                          "status": "alarm"
    65                      },
    66                      {
    67                          "id": "15",
    68                          "reason": "Resource does not satisfy condition",
    69                          "resource": "steampipe",
    70                          "status": "alarm"
    71                      },
    72                      {
    73                          "id": "19",
    74                          "reason": "Information",
    75                          "resource": "steampipe",
    76                          "status": "info"
    77                      },
    78                      {
    79                          "id": "20",
    80                          "reason": "Information",
    81                          "resource": "steampipe",
    82                          "status": "info"
    83                      },
    84                      {
    85                          "id": "21",
    86                          "reason": "Information",
    87                          "resource": "steampipe",
    88                          "status": "info"
    89                      },
    90                      {
    91                          "id": "1",
    92                          "reason": "Resource satisfies condition",
    93                          "resource": "steampipe",
    94                          "status": "ok"
    95                      },
    96                      {
    97                          "id": "2",
    98                          "reason": "Resource satisfies condition",
    99                          "resource": "steampipe",
   100                          "status": "ok"
   101                      },
   102                      {
   103                          "id": "3",
   104                          "reason": "Resource satisfies condition",
   105                          "resource": "steampipe",
   106                          "status": "ok"
   107                      },
   108                      {
   109                          "id": "4",
   110                          "reason": "Resource satisfies condition",
   111                          "resource": "steampipe",
   112                          "status": "ok"
   113                      },
   114                      {
   115                          "id": "5",
   116                          "reason": "Resource satisfies condition",
   117                          "resource": "steampipe",
   118                          "status": "ok"
   119                      },
   120                      {
   121                          "id": "6",
   122                          "reason": "Resource satisfies condition",
   123                          "resource": "steampipe",
   124                          "status": "ok"
   125                      },
   126                      {
   127                          "id": "7",
   128                          "reason": "Resource satisfies condition",
   129                          "resource": "steampipe",
   130                          "status": "ok"
   131                      },
   132                      {
   133                          "id": "8",
   134                          "reason": "Resource satisfies condition",
   135                          "resource": "steampipe",
   136                          "status": "ok"
   137                      },
   138                      {
   139                          "id": "9",
   140                          "reason": "Resource satisfies condition",
   141                          "resource": "steampipe",
   142                          "status": "ok"
   143                      },
   144                      {
   145                          "id": "10",
   146                          "reason": "Resource satisfies condition",
   147                          "resource": "steampipe",
   148                          "status": "ok"
   149                      },
   150                      {
   151                          "id": "18",
   152                          "reason": "Resource is skipped",
   153                          "resource": "steampipe",
   154                          "status": "skip"
   155                      }
   156                  ]
   157              },
   158              "description": "Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",
   159              "name": "control_rendering_test_mod.control.sample_control_mixed_results_1",
   160              "panel_type": "control",
   161              "properties": {
   162                  "name": "sample_control_mixed_results_1",
   163                  "severity": "high"
   164              },
   165              "status": "complete",
   166              "summary": {
   167                  "alarm": 5,
   168                  "error": 2,
   169                  "info": 3,
   170                  "ok": 10,
   171                  "skip": 1
   172              },
   173              "title": "Sample control with all possible statuses(severity=high)"
   174          }
   175      },
   176      "schema_version": "20220929",
   177      "start_time": "2022-12-15T20:12:43.263569+05:30",
   178      "variables": {}
   179  }