{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nebulock Public Entities Rules API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key-ID",
      "value": "{{X-API-Key-ID}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Validate rule content (Sigma YAML or SQL) without persisting a rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nebulock.io/public/v1/rules/validate"
          },
          "docs": "Validate rule content (Sigma YAML or SQL) without persisting a rule."
        },
        {
          "info": {
            "name": "List rules for the authenticated organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nebulock.io/public/v1/rules"
          },
          "docs": "List rules for the authenticated organization."
        },
        {
          "info": {
            "name": "Create a rule in your organization (sigma, scheduled_sql, signal_combination).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nebulock.io/public/v1/rules"
          },
          "docs": "Create a rule in your organization (sigma, scheduled_sql, signal_combination)."
        },
        {
          "info": {
            "name": "Get a rule by ID (latest version unless a version is given).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a rule by ID (latest version unless a version is given)."
        },
        {
          "info": {
            "name": "Update a rule in your organization.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a rule in your organization."
        },
        {
          "info": {
            "name": "Delete a rule (all versions) in your organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a rule (all versions) in your organization."
        },
        {
          "info": {
            "name": "Run an on-demand test execution for a scheduled_sql rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id/test_sql_rule",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Run an on-demand test execution for a scheduled_sql rule."
        },
        {
          "info": {
            "name": "List scheduled-sase runs for a scheduled_sql rule (metadata only).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id/runs",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List scheduled-sase runs for a scheduled_sql rule (metadata only)."
        },
        {
          "info": {
            "name": "Trigger a retroactive run of a scheduled_sql rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id/runs",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Trigger a retroactive run of a scheduled_sql rule."
        },
        {
          "info": {
            "name": "Get row-level results for a single scheduled-sase run.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nebulock.io/public/v1/rules/:rule_id/runs/:rule_run_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rule_run_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get row-level results for a single scheduled-sase run."
        }
      ]
    }
  ],
  "bundled": true
}