{
  "name": "miniflux",
  "title": "Miniflux RSS reader",
  "version": "1.1.0",
  "release": "ga",
  "source": {
    "license": "Elastic-2.0"
  },
  "description": "Collect RSS feed content from the Miniflux API with Elastic Agent.",
  "type": "integration",
  "download": "/epr/miniflux/miniflux-1.1.0.zip",
  "path": "/package/miniflux/1.1.0",
  "icons": [
    {
      "src": "/img/miniflux-logo.svg",
      "path": "/package/miniflux/1.1.0/img/miniflux-logo.svg",
      "title": "Miniflux logo",
      "size": "32x32",
      "type": "image/svg+xml"
    },
    {
      "src": "/img/miniflux-overview-dashboard.png",
      "path": "/package/miniflux/1.1.0/img/miniflux-overview-dashboard.png",
      "title": "GitHub user overview",
      "size": "600x600",
      "type": "image/png"
    }
  ],
  "conditions": {
    "kibana": {
      "version": "^8.19.4 || ~9.0.7 || ^9.1.4"
    },
    "elastic": {
      "subscription": "basic"
    }
  },
  "owner": {
    "type": "elastic",
    "github": "elastic/security-service-integrations"
  },
  "categories": [
    "observability",
    "web"
  ],
  "signature_path": "/epr/miniflux/miniflux-1.1.0.zip.sig",
  "format_version": "3.3.5",
  "readme": "/package/miniflux/1.1.0/docs/README.md",
  "license": "basic",
  "screenshots": [
    {
      "src": "/img/sample-screenshot.png",
      "path": "/package/miniflux/1.1.0/img/sample-screenshot.png",
      "title": "Sample screenshot",
      "size": "600x600",
      "type": "image/png"
    }
  ],
  "assets": [
    "/package/miniflux/1.1.0/LICENSE.txt",
    "/package/miniflux/1.1.0/changelog.yml",
    "/package/miniflux/1.1.0/manifest.yml",
    "/package/miniflux/1.1.0/validation.yml",
    "/package/miniflux/1.1.0/docs/README.md",
    "/package/miniflux/1.1.0/img/miniflux-logo.svg",
    "/package/miniflux/1.1.0/img/miniflux-overview-dashboard.png",
    "/package/miniflux/1.1.0/img/sample-screenshot.png",
    "/package/miniflux/1.1.0/data_stream/feed_entry/manifest.yml",
    "/package/miniflux/1.1.0/data_stream/feed_entry/sample_event.json",
    "/package/miniflux/1.1.0/kibana/dashboard/miniflux-c31e3493-1f45-4e5f-bf5c-08aebc8fcbf8.json",
    "/package/miniflux/1.1.0/kibana/search/miniflux-7c09e6fa-a4ea-4db5-8039-d285e38b7a3b.json",
    "/package/miniflux/1.1.0/data_stream/feed_entry/fields/base-fields.yml",
    "/package/miniflux/1.1.0/data_stream/feed_entry/fields/beats.yml",
    "/package/miniflux/1.1.0/data_stream/feed_entry/fields/fields.yml",
    "/package/miniflux/1.1.0/data_stream/feed_entry/agent/stream/cel.yml.hbs",
    "/package/miniflux/1.1.0/data_stream/feed_entry/elasticsearch/ingest_pipeline/default.yml"
  ],
  "policy_templates": [
    {
      "name": "miniflux",
      "title": "Miniflux data",
      "description": "Collect Miniflux data.",
      "inputs": [
        {
          "type": "cel",
          "vars": [
            {
              "name": "api_key",
              "type": "password",
              "title": "API key",
              "description": "API key for Miniflux API. This key is used to authenticate with the Miniflux API and should be kept secret.",
              "multi": false,
              "required": true,
              "show_user": true
            },
            {
              "name": "proxy_url",
              "type": "text",
              "title": "Proxy URL",
              "description": "URL to proxy connections in the form of http[s]://<user>:<password>@<server name/ip>:<port>. Please ensure your username and password are in URL encoded format.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "ssl",
              "type": "yaml",
              "title": "SSL Configuration",
              "description": "SSL configuration options. See [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-ssl.html#ssl-common-config) for details.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "#certificate_authorities:\n#  - |\n#    -----BEGIN CERTIFICATE-----\n#    MIIDCjCCAfKgAwIBAgITJ706Mu2wJlKckpIvkWxEHvEyijANBgkqhkiG9w0BAQsF\n#    ADAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwIBcNMTkwNzIyMTkyOTA0WhgPMjExOTA2\n#    MjgxOTI5MDRaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEB\n#    BQADggEPADCCAQoCggEBANce58Y/JykI58iyOXpxGfw0/gMvF0hUQAcUrSMxEO6n\n#    fZRA49b4OV4SwWmA3395uL2eB2NB8y8qdQ9muXUdPBWE4l9rMZ6gmfu90N5B5uEl\n#    94NcfBfYOKi1fJQ9i7WKhTjlRkMCgBkWPkUokvBZFRt8RtF7zI77BSEorHGQCk9t\n#    /D7BS0GJyfVEhftbWcFEAG3VRcoMhF7kUzYwp+qESoriFRYLeDWv68ZOvG7eoWnP\n#    PsvZStEVEimjvK5NSESEQa9xWyJOmlOKXhkdymtcUd/nXnx6UTCFgnkgzSdTWV41\n#    CI6B6aJ9svCTI2QuoIq2HxX/ix7OvW1huVmcyHVxyUECAwEAAaNTMFEwHQYDVR0O\n#    BBYEFPwN1OceFGm9v6ux8G+DZ3TUDYxqMB8GA1UdIwQYMBaAFPwN1OceFGm9v6ux\n#    8G+DZ3TUDYxqMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAG5D\n#    874A4YI7YUwOVsVAdbWtgp1d0zKcPRR+r2OdSbTAV5/gcS3jgBJ3i1BN34JuDVFw\n#    3DeJSYT3nxy2Y56lLnxDeF8CUTUtVQx3CuGkRg1ouGAHpO/6OqOhwLLorEmxi7tA\n#    H2O8mtT0poX5AnOAhzVy7QW0D/k4WaoLyckM5hUa6RtvgvLxOwA0U+VGurCDoctu\n#    8F4QOgTAWyh8EZIwaKCliFRSynDpv3JTUwtfZkxo6K6nce1RhCWFAsMvDZL8Dgc0\n#    yvgJ38BRsFOtkRuAGSf6ZUwTO8JJRRIFnpUzXflAnGivK9M13D5GEQMmIl6U9Pvk\n#    sxSmbIUfc2SGJGCJD4I=\n#    -----END CERTIFICATE-----\n"
            }
          ],
          "title": "Collect First EPSS data via API",
          "description": "Collect First EPSS data via API."
        }
      ],
      "multiple": true,
      "deployment_modes": {
        "default": {
          "enabled": true
        },
        "agentless": {
          "enabled": true
        }
      }
    }
  ],
  "data_streams": [
    {
      "type": "logs",
      "dataset": "miniflux.feed_entry",
      "title": "Collect Miniflux data from Miniflux API.",
      "release": "ga",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "cel",
          "vars": [
            {
              "name": "api_url",
              "type": "text",
              "title": "API URL",
              "description": "URL for Miniflux feed entries API",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "https://reader.miniflux.app/v1/entries"
            },
            {
              "name": "interval",
              "type": "text",
              "title": "Interval",
              "description": "Duration between requests to the API. Supported units for this parameter are h/m/s.",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "10m"
            },
            {
              "name": "batch_size",
              "type": "integer",
              "title": "Batch Size",
              "description": "Batch size for the response of the Miniflux API.",
              "multi": false,
              "required": true,
              "show_user": false,
              "default": 500
            },
            {
              "name": "http_client_timeout",
              "type": "text",
              "title": "HTTP Client Timeout",
              "description": "Duration before declaring that the HTTP client connection has timed out. Give a timeout of more than 1 minute. Supported time units are ns, us, ms, s, m, h. ",
              "multi": false,
              "required": true,
              "show_user": false,
              "default": "9m"
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "forwarded",
                "miniflux-feed_entry"
              ]
            },
            {
              "name": "preserve_original_event",
              "type": "bool",
              "title": "Preserve original event",
              "description": "Preserves a raw copy of the original event, added to the field `event.original`",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": false
            },
            {
              "name": "regex_input",
              "type": "text",
              "title": "Regex input to split items",
              "description": "Regular expression to split items.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata.  This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "enable_request_tracer",
              "type": "bool",
              "title": "Enable request tracing",
              "description": "The request tracer logs requests and responses to the agent's local file-system for debugging configurations. Enabling this request tracing compromises security and should only be used for debugging. See [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-cel.html#_resource_tracer_filename) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": false
            }
          ],
          "template_path": "cel.yml.hbs",
          "title": "Miniflux data",
          "description": "Collect Miniflux data from Miniflux API.",
          "enabled": true,
          "ingestion_method": "API"
        }
      ],
      "package": "miniflux",
      "elasticsearch": {
        "index_template.mappings": {
          "subobjects": false
        },
        "ingest_pipeline.name": "default"
      },
      "path": "feed_entry"
    }
  ]
}
