Skip to main content
GET
/
v1
/
namespaces
/
{tenant_meta.namespace}
/
linter-results
ListLinterResults
curl --request GET \
  --url https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/linter-results
{
  "count_response": {
    "count": 123
  },
  "group_response": {
    "groups": {}
  },
  "list": {
    "objects": [
      {
        "context": {
          "id": "<string>",
          "type": "CONTEXT_TYPE_UNSPECIFIED",
          "tags": [
            "<string>"
          ],
          "will_be_deleted_at": "2023-11-07T05:31:56Z"
        },
        "meta": {
          "name": "<string>",
          "annotations": {},
          "create_time": "2023-11-07T05:31:56Z",
          "created_by": "<string>",
          "description": "<string>",
          "index_data": {
            "data": [
              "<string>"
            ],
            "search_score": 123,
            "tenant": "<string>",
            "will_be_deleted_at": "2023-11-07T05:31:56Z"
          },
          "kind": "<string>",
          "parent_kind": "<string>",
          "parent_uuid": "<string>",
          "references": {},
          "tags": [
            "<string>"
          ],
          "update_time": "2023-11-07T05:31:56Z",
          "updated_by": "<string>",
          "upsert_time": "2023-11-07T05:31:56Z",
          "version": "<string>"
        },
        "spec": {
          "extra_key": "<string>",
          "level": "LINTER_RESULT_LEVEL_UNSPECIFIED",
          "origin": "LINTER_RESULT_ORIGIN_UNSPECIFIED",
          "project_uuid": "<string>",
          "ai_result": {
            "explanation": "<string>",
            "level": "AI_LEVEL_UNSPECIFIED",
            "title": "<string>",
            "sast": {
              "classification": "FINDING_CLASSIFICATION_UNSPECIFIED",
              "cwes": [
                "<string>"
              ],
              "dataflow": [
                {
                  "end_column": 123,
                  "end_line": 123,
                  "function_name": "<string>",
                  "relative_path": "<string>",
                  "snippet": "<string>",
                  "start_column": 123,
                  "start_line": 123,
                  "type": "LOCATION_TYPE_UNSPECIFIED"
                }
              ],
              "language": "<string>",
              "location": {
                "end_column": 123,
                "end_line": 123,
                "function_name": "<string>",
                "relative_path": "<string>",
                "snippet": "<string>",
                "start_column": 123,
                "start_line": 123,
                "type": "LOCATION_TYPE_UNSPECIFIED"
              }
            }
          },
          "aisast": {
            "call_stack": [
              {
                "location": {
                  "annotations": [
                    {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  ],
                  "id": 123,
                  "logical_locations": [
                    {
                      "decorated_name": "<string>",
                      "fully_qualified_name": "<string>",
                      "index": 123,
                      "kind": "<string>",
                      "name": "<string>",
                      "parent_index": 123,
                      "properties": {}
                    }
                  ],
                  "message": {
                    "markdown": "<string>",
                    "text": "<string>"
                  },
                  "physical_location": {
                    "artifact_location": {
                      "uri": "<string>",
                      "uri_base_id": "<string>"
                    },
                    "properties": {},
                    "region": {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  },
                  "relationships": [
                    {
                      "description": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "kinds": [
                        "<string>"
                      ],
                      "properties": {},
                      "target": 123
                    }
                  ]
                },
                "name": "<string>",
                "type": "<string>"
              }
            ],
            "cwe": "<string>",
            "explanation": "<string>",
            "sanitizer_callsites": [
              {
                "location": {
                  "annotations": [
                    {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  ],
                  "id": 123,
                  "logical_locations": [
                    {
                      "decorated_name": "<string>",
                      "fully_qualified_name": "<string>",
                      "index": 123,
                      "kind": "<string>",
                      "name": "<string>",
                      "parent_index": 123,
                      "properties": {}
                    }
                  ],
                  "message": {
                    "markdown": "<string>",
                    "text": "<string>"
                  },
                  "physical_location": {
                    "artifact_location": {
                      "uri": "<string>",
                      "uri_base_id": "<string>"
                    },
                    "properties": {},
                    "region": {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  },
                  "relationships": [
                    {
                      "description": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "kinds": [
                        "<string>"
                      ],
                      "properties": {},
                      "target": 123
                    }
                  ]
                },
                "name": "<string>",
                "type": "<string>"
              }
            ],
            "sanitizer_definitions": [
              {
                "location": {
                  "annotations": [
                    {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  ],
                  "id": 123,
                  "logical_locations": [
                    {
                      "decorated_name": "<string>",
                      "fully_qualified_name": "<string>",
                      "index": 123,
                      "kind": "<string>",
                      "name": "<string>",
                      "parent_index": 123,
                      "properties": {}
                    }
                  ],
                  "message": {
                    "markdown": "<string>",
                    "text": "<string>"
                  },
                  "physical_location": {
                    "artifact_location": {
                      "uri": "<string>",
                      "uri_base_id": "<string>"
                    },
                    "properties": {},
                    "region": {
                      "end_column": 123,
                      "end_line": 123,
                      "snippet": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "start_column": 123,
                      "start_line": 123
                    }
                  },
                  "relationships": [
                    {
                      "description": {
                        "markdown": "<string>",
                        "text": "<string>"
                      },
                      "kinds": [
                        "<string>"
                      ],
                      "properties": {},
                      "target": 123
                    }
                  ]
                },
                "name": "<string>",
                "type": "<string>"
              }
            ],
            "semgrep_sink_trigger": {
              "pattern": {
                "language": "<string>",
                "metavariable": "<string>",
                "pattern": "<string>",
                "pattern_either": [
                  {
                    "by_side_effect": true,
                    "exact": true,
                    "focus_metavariable": [
                      "<string>"
                    ],
                    "from": "<string>",
                    "label": "<string>",
                    "management": {
                      "endpoints": {
                        "web": {
                          "exposure": {
                            "exclude": [
                              "<string>"
                            ],
                            "include": [
                              "<string>"
                            ]
                          }
                        }
                      }
                    },
                    "metavariable_analysis": {
                      "analyzer": "<string>",
                      "metavariable": "<string>"
                    },
                    "metavariable_comparison": {
                      "base": true,
                      "comparison": "<string>",
                      "metavariable": "<string>",
                      "strip": true
                    },
                    "metavariable_pattern": "<unknown>",
                    "metavariable_regex": {
                      "metavariable": "<string>",
                      "regex": "<string>",
                      "x": "<string>"
                    },
                    "metavariable_type": {
                      "metavariable": "<string>",
                      "type": "<string>"
                    },
                    "not_conflicting": true,
                    "pattern": "<string>",
                    "pattern_either_new": "<array>",
                    "pattern_inside": "<string>",
                    "pattern_inside_either": "<array>",
                    "pattern_not": "<string>",
                    "pattern_not_inside": "<string>",
                    "pattern_not_regex": "<string>",
                    "pattern_regex": "<string>",
                    "patterns": "<array>",
                    "requires": "<string>",
                    "to": "<string>"
                  }
                ],
                "pattern_regex": "<string>",
                "patterns": [
                  {
                    "by_side_effect": true,
                    "exact": true,
                    "focus_metavariable": [
                      "<string>"
                    ],
                    "from": "<string>",
                    "label": "<string>",
                    "management": {
                      "endpoints": {
                        "web": {
                          "exposure": {
                            "exclude": [
                              "<string>"
                            ],
                            "include": [
                              "<string>"
                            ]
                          }
                        }
                      }
                    },
                    "metavariable_analysis": {
                      "analyzer": "<string>",
                      "metavariable": "<string>"
                    },
                    "metavariable_comparison": {
                      "base": true,
                      "comparison": "<string>",
                      "metavariable": "<string>",
                      "strip": true
                    },
                    "metavariable_pattern": "<unknown>",
                    "metavariable_regex": {
                      "metavariable": "<string>",
                      "regex": "<string>",
                      "x": "<string>"
                    },
                    "metavariable_type": {
                      "metavariable": "<string>",
                      "type": "<string>"
                    },
                    "not_conflicting": true,
                    "pattern": "<string>",
                    "pattern_either_new": "<array>",
                    "pattern_inside": "<string>",
                    "pattern_inside_either": "<array>",
                    "pattern_not": "<string>",
                    "pattern_not_inside": "<string>",
                    "pattern_not_regex": "<string>",
                    "pattern_regex": "<string>",
                    "patterns": "<array>",
                    "requires": "<string>",
                    "to": "<string>"
                  }
                ]
              }
            },
            "semgrep_source_trigger": {
              "pattern": {
                "language": "<string>",
                "metavariable": "<string>",
                "pattern": "<string>",
                "pattern_either": [
                  {
                    "by_side_effect": true,
                    "exact": true,
                    "focus_metavariable": [
                      "<string>"
                    ],
                    "from": "<string>",
                    "label": "<string>",
                    "management": {
                      "endpoints": {
                        "web": {
                          "exposure": {
                            "exclude": [
                              "<string>"
                            ],
                            "include": [
                              "<string>"
                            ]
                          }
                        }
                      }
                    },
                    "metavariable_analysis": {
                      "analyzer": "<string>",
                      "metavariable": "<string>"
                    },
                    "metavariable_comparison": {
                      "base": true,
                      "comparison": "<string>",
                      "metavariable": "<string>",
                      "strip": true
                    },
                    "metavariable_pattern": "<unknown>",
                    "metavariable_regex": {
                      "metavariable": "<string>",
                      "regex": "<string>",
                      "x": "<string>"
                    },
                    "metavariable_type": {
                      "metavariable": "<string>",
                      "type": "<string>"
                    },
                    "not_conflicting": true,
                    "pattern": "<string>",
                    "pattern_either_new": "<array>",
                    "pattern_inside": "<string>",
                    "pattern_inside_either": "<array>",
                    "pattern_not": "<string>",
                    "pattern_not_inside": "<string>",
                    "pattern_not_regex": "<string>",
                    "pattern_regex": "<string>",
                    "patterns": "<array>",
                    "requires": "<string>",
                    "to": "<string>"
                  }
                ],
                "pattern_regex": "<string>",
                "patterns": [
                  {
                    "by_side_effect": true,
                    "exact": true,
                    "focus_metavariable": [
                      "<string>"
                    ],
                    "from": "<string>",
                    "label": "<string>",
                    "management": {
                      "endpoints": {
                        "web": {
                          "exposure": {
                            "exclude": [
                              "<string>"
                            ],
                            "include": [
                              "<string>"
                            ]
                          }
                        }
                      }
                    },
                    "metavariable_analysis": {
                      "analyzer": "<string>",
                      "metavariable": "<string>"
                    },
                    "metavariable_comparison": {
                      "base": true,
                      "comparison": "<string>",
                      "metavariable": "<string>",
                      "strip": true
                    },
                    "metavariable_pattern": "<unknown>",
                    "metavariable_regex": {
                      "metavariable": "<string>",
                      "regex": "<string>",
                      "x": "<string>"
                    },
                    "metavariable_type": {
                      "metavariable": "<string>",
                      "type": "<string>"
                    },
                    "not_conflicting": true,
                    "pattern": "<string>",
                    "pattern_either_new": "<array>",
                    "pattern_inside": "<string>",
                    "pattern_inside_either": "<array>",
                    "pattern_not": "<string>",
                    "pattern_not_inside": "<string>",
                    "pattern_not_regex": "<string>",
                    "pattern_regex": "<string>",
                    "patterns": "<array>",
                    "requires": "<string>",
                    "to": "<string>"
                  }
                ]
              }
            }
          },
          "distribution_format": "DISTRIBUTION_FORMAT_TYPE_UNSPECIFIED",
          "ecosystem": "ECOSYSTEM_UNSPECIFIED",
          "endor_fingerprint": {
            "values": [
              "<string>"
            ]
          },
          "fingerprint_count": 123,
          "fingerprints": [
            "<string>"
          ],
          "linter_correctness_analyses": [
            {
              "analyzer": "CORRECTNESS_ANALYZER_UNSPECIFIED",
              "confidence_level": "CONFIDENCE_LEVEL_UNSPECIFIED",
              "correctness": "CORRECTNESS_UNSPECIFIED",
              "version": "<string>",
              "analysis_summary": "<string>",
              "code_fixes": [
                {
                  "file_path": "<string>",
                  "line_end": 123,
                  "line_start": 123,
                  "patch": "<string>"
                }
              ],
              "code_references": "<string>",
              "data_flow": [
                {
                  "code_line_num": 123,
                  "code_snippet": "<string>",
                  "type": "<string>"
                }
              ],
              "description": "<string>",
              "risk_assessment": "<string>",
              "sanitizers": [
                "<string>"
              ],
              "security_control": "<string>",
              "security_impact": "<string>",
              "symbols": "<string>",
              "technical_detail": "<string>"
            }
          ],
          "ref": "<string>",
          "sarif_result": {
            "code_flows": [
              {
                "message": {
                  "markdown": "<string>",
                  "text": "<string>"
                },
                "thread_flows": [
                  {
                    "locations": [
                      {
                        "execution_order": 123,
                        "execution_time_utc": "<string>",
                        "importance": "IMPORTANCE_UNSPECIFIED",
                        "index": 123,
                        "kinds": [
                          "<string>"
                        ],
                        "location": {
                          "annotations": [
                            {
                              "end_column": 123,
                              "end_line": 123,
                              "snippet": {
                                "markdown": "<string>",
                                "text": "<string>"
                              },
                              "start_column": 123,
                              "start_line": 123
                            }
                          ],
                          "id": 123,
                          "logical_locations": [
                            {
                              "decorated_name": "<string>",
                              "fully_qualified_name": "<string>",
                              "index": 123,
                              "kind": "<string>",
                              "name": "<string>",
                              "parent_index": 123,
                              "properties": {}
                            }
                          ],
                          "message": {
                            "markdown": "<string>",
                            "text": "<string>"
                          },
                          "physical_location": {
                            "artifact_location": {
                              "uri": "<string>",
                              "uri_base_id": "<string>"
                            },
                            "properties": {},
                            "region": {
                              "end_column": 123,
                              "end_line": 123,
                              "snippet": {
                                "markdown": "<string>",
                                "text": "<string>"
                              },
                              "start_column": 123,
                              "start_line": 123
                            }
                          },
                          "relationships": [
                            {
                              "description": {
                                "markdown": "<string>",
                                "text": "<string>"
                              },
                              "kinds": [
                                "<string>"
                              ],
                              "properties": {},
                              "target": 123
                            }
                          ]
                        },
                        "module": "<string>",
                        "nesting_level": 123,
                        "stack": {
                          "frames": [
                            {
                              "location": {
                                "annotations": [
                                  {
                                    "end_column": 123,
                                    "end_line": 123,
                                    "snippet": {
                                      "markdown": "<string>",
                                      "text": "<string>"
                                    },
                                    "start_column": 123,
                                    "start_line": 123
                                  }
                                ],
                                "id": 123,
                                "logical_locations": [
                                  {
                                    "decorated_name": "<string>",
                                    "fully_qualified_name": "<string>",
                                    "index": 123,
                                    "kind": "<string>",
                                    "name": "<string>",
                                    "parent_index": 123,
                                    "properties": {}
                                  }
                                ],
                                "message": {
                                  "markdown": "<string>",
                                  "text": "<string>"
                                },
                                "physical_location": {
                                  "artifact_location": {
                                    "uri": "<string>",
                                    "uri_base_id": "<string>"
                                  },
                                  "properties": {},
                                  "region": {
                                    "end_column": 123,
                                    "end_line": 123,
                                    "snippet": {
                                      "markdown": "<string>",
                                      "text": "<string>"
                                    },
                                    "start_column": 123,
                                    "start_line": 123
                                  }
                                },
                                "relationships": [
                                  {
                                    "description": {
                                      "markdown": "<string>",
                                      "text": "<string>"
                                    },
                                    "kinds": [
                                      "<string>"
                                    ],
                                    "properties": {},
                                    "target": 123
                                  }
                                ]
                              },
                              "module": "<string>",
                              "parameters": [
                                "<string>"
                              ],
                              "thread_id": 123
                            }
                          ],
                          "message": {
                            "markdown": "<string>",
                            "text": "<string>"
                          }
                        },
                        "state": {},
                        "taxa": [
                          {
                            "guid": "<string>",
                            "id": "<string>",
                            "index": 123,
                            "tool_component": {
                              "guid": "<string>",
                              "index": 123,
                              "name": "<string>"
                            }
                          }
                        ],
                        "web_request": {
                          "body": {
                            "binary": "<string>",
                            "rendered": {
                              "markdown": "<string>",
                              "text": "<string>"
                            },
                            "text": "<string>"
                          },
                          "headers": {},
                          "index": 123,
                          "method": "<string>",
                          "parameters": {},
                          "protocol": "<string>",
                          "target": "<string>",
                          "version": "<string>"
                        },
                        "web_response": {
                          "body": {
                            "binary": "<string>",
                            "rendered": {
                              "markdown": "<string>",
                              "text": "<string>"
                            },
                            "text": "<string>"
                          },
                          "headers": {},
                          "index": 123,
                          "no_response_received": true,
                          "protocol": "<string>",
                          "reason_phrase": "<string>",
                          "status_code": 123,
                          "version": "<string>"
                        }
                      }
                    ],
                    "id": "<string>",
                    "immutable_state": {},
                    "initial_state": {},
                    "message": {
                      "markdown": "<string>",
                      "text": "<string>"
                    }
                  }
                ]
              }
            ],
            "fingerprints": {
              "author": "<string>",
              "commit_message": "<string>",
              "commit_sha": "<string>",
              "date": "<string>",
              "email": "<string>",
              "hash": "<string>",
              "id": "<string>"
            },
            "level": "<string>",
            "locations": [
              {
                "annotations": [
                  {
                    "end_column": 123,
                    "end_line": 123,
                    "snippet": {
                      "markdown": "<string>",
                      "text": "<string>"
                    },
                    "start_column": 123,
                    "start_line": 123
                  }
                ],
                "id": 123,
                "logical_locations": [
                  {
                    "decorated_name": "<string>",
                    "fully_qualified_name": "<string>",
                    "index": 123,
                    "kind": "<string>",
                    "name": "<string>",
                    "parent_index": 123,
                    "properties": {}
                  }
                ],
                "message": {
                  "markdown": "<string>",
                  "text": "<string>"
                },
                "physical_location": {
                  "artifact_location": {
                    "uri": "<string>",
                    "uri_base_id": "<string>"
                  },
                  "properties": {},
                  "region": {
                    "end_column": 123,
                    "end_line": 123,
                    "snippet": {
                      "markdown": "<string>",
                      "text": "<string>"
                    },
                    "start_column": 123,
                    "start_line": 123
                  }
                },
                "relationships": [
                  {
                    "description": {
                      "markdown": "<string>",
                      "text": "<string>"
                    },
                    "kinds": [
                      "<string>"
                    ],
                    "properties": {},
                    "target": 123
                  }
                ]
              }
            ],
            "message": {
              "markdown": "<string>",
              "text": "<string>"
            },
            "partial_fingerprints": {
              "author": "<string>",
              "commit_message": "<string>",
              "commit_sha": "<string>",
              "date": "<string>",
              "email": "<string>",
              "hash": "<string>",
              "id": "<string>"
            },
            "properties": {
              "action_policies_triggered": [
                "<string>"
              ],
              "categories": [
                "<string>"
              ],
              "cvss_score": 123,
              "cvss_vector": "<string>",
              "cvss_version": "CVSS_VERSION_UNSPECIFIED",
              "epss_percentile_score": 123,
              "epss_probability_score": 123,
              "explanation": "<string>",
              "finding_url": "<string>",
              "finding_uuid": "<string>",
              "impact_score": 123,
              "project_uuid": "<string>",
              "remediation": "<string>",
              "tags": [
                "<string>"
              ]
            },
            "rule_id": "<string>",
            "suppressions": [
              {
                "kind": "KIND_UNSPECIFIED"
              }
            ]
          },
          "secret": {
            "fs_scanned": true,
            "git_log_scanned": true,
            "secret_id": "<string>",
            "validation": "VALIDATION_STATUS_UNSPECIFIED"
          },
          "semgrep": {
            "ai_provider": "<string>",
            "confidence": "<string>",
            "cwes": [
              "<string>"
            ],
            "description": "<string>",
            "explanation": "<string>",
            "impact": "<string>",
            "languages": [
              "<string>"
            ],
            "likelihood": "<string>",
            "references": [
              "<string>"
            ],
            "remediation": "<string>",
            "rule_name": "<string>",
            "rule_uuid": "<string>",
            "rule_version": "<string>",
            "severity": "<string>",
            "tags": [
              "<string>"
            ]
          },
          "storage_location": "<string>",
          "suppressed": true,
          "version": "<string>"
        },
        "tenant_meta": {
          "namespace": "<string>"
        },
        "uuid": "<string>"
      }
    ],
    "response": {
      "next_page_id": "<string>",
      "next_page_token": 123
    }
  }
}

Path Parameters

tenant_meta.namespace
string
required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Query Parameters

list_parameters.filter
string

String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses.

Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")".

list_parameters.page_token
integer<int32>

Set the page token to start from. Use page tokens to page through list results or list specific pages.

list_parameters.page_size
integer<int32>

Set the page size to limit the number of results returned. Default: 100. Max: 500.

list_parameters.action
string

Action to be executed with a request. Not supported for all endpoints.

list_parameters.mask
string

List of fields to return (all fields are returned by default).

list_parameters.traverse
boolean

Get data from any child namespaces as well.

list_parameters.sort.path
string

Field to sort objects by, for example, meta.name.

list_parameters.sort.order
enum<string>
default:SORT_ENTRY_ORDER_UNSPECIFIED

Sort order. Default: ASC.

Available options:
SORT_ENTRY_ORDER_UNSPECIFIED,
SORT_ENTRY_ORDER_ASC,
SORT_ENTRY_ORDER_DESC
list_parameters.count
boolean

Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse.

list_parameters.group.aggregation_paths
string

Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps.

list_parameters.group.show_aggregation_uuids
boolean

Return the UUID of each object in each group as specified by aggregation_paths.

list_parameters.group.unique_count_paths
string

List of fields for which we want the unique count. Supports arrays and maps.

list_parameters.group.unique_value_paths
string

List of fields for which we want the unique values. Supports arrays and maps.

list_parameters.ci_run_uuid
string

Only return objects from PR scans that match this context id.

list_parameters.page_id
string

Page ID to retrieve.

list_parameters.group_by_time.aggregation_paths
string

Group the objects based on this time field, for example, meta.create_time.

list_parameters.group_by_time.show_aggregation_uuids
boolean

Return the UUIDs of the objects in each group.

list_parameters.group_by_time.interval
enum<string>
default:GROUP_BY_TIME_INTERVAL_UNSPECIFIED

Interval unit by which the objects should be grouped.

Available options:
GROUP_BY_TIME_INTERVAL_UNSPECIFIED,
GROUP_BY_TIME_INTERVAL_YEAR,
GROUP_BY_TIME_INTERVAL_QUARTER,
GROUP_BY_TIME_INTERVAL_MONTH,
GROUP_BY_TIME_INTERVAL_WEEK,
GROUP_BY_TIME_INTERVAL_DAY,
GROUP_BY_TIME_INTERVAL_HOUR,
GROUP_BY_TIME_INTERVAL_MINUTE,
GROUP_BY_TIME_INTERVAL_SECOND
list_parameters.group_by_time.group_size
integer<int32>

Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2.

list_parameters.group_by_time.start_time
string<date-time>

Beginning of the time period to group objects. Defaults to the beginning of time.

list_parameters.group_by_time.end_time
string<date-time>

End of the time period to group objects. Defaults to the current time.

list_parameters.group_by_time.mode
string

The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time.

list_parameters.group_by_time.aggregation_value_field
string

The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg)

list_parameters.group_by_time.aggregation_operator
string

The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg

list_parameters.disable_pagination
boolean

If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed.

Response

A successful response.

Response to the request to list linter results.

count_response
object

Response to a list count request.

group_response
object

Response to a list group request.

list
object