{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/choose-the-wazuh-state-index-for-an-inventory-question/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
        "slug": "choose-the-wazuh-state-index-for-an-inventory-question",
        "url": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/choose-the-wazuh-state-index-for-an-inventory-question/"
        },
        "title": "Choose the Wazuh state index for an inventory question",
        "summary": "Choose the documented Wazuh global state index for the inventory question. Preserve the periodic collection and harvester/indexer path instead of treating an alerts search as a live endpoint query.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "advisory",
            "name": "Advisory"
        },
        "featured": false,
        "image": {
            "theme": "cyber-defense",
            "label": "Cyber defense",
            "alt": "Layered glass and metal cyber-defense structure with controlled blue and gold signal paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "cybersecurity",
                "name": "Cybersecurity",
                "url": "https://update.dsesecurity.com/topic/cybersecurity/"
            },
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-10-30T06:47:10+00:00",
        "modified_at": "2026-10-30T06:47:29+00:00",
        "reviewed_on": "2026-10-30",
        "reading_minutes": 3,
        "word_count": 512,
        "potentially_affected": "Wazuh deployments using global state inventory and vulnerability data through the documented harvester and indexer workflow.",
        "dse_recommendation": "DSE recommends recording the selected state index and tracing a known endpoint observation through the inventory path before relying on the query.",
        "primary_source": {
            "name": "Wazuh — Wazuh global queries",
            "url": "https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html",
            "published_on": null,
            "authority": "documentation.wazuh.com"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p><strong>Bottom line:</strong> Choose the data category before entering an inventory query. Trace an unexpected result through the documented collection and indexing path instead of substituting a familiar alerts population.</p>\n<h2>Source fact: documented behavior</h2>\n<p>The <a href=\"https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html\" target=\"_blank\" rel=\"noopener noreferrer\">Wazuh global queries</a> guide describes endpoint data collected periodically by modules such as Syscollector and centralized in dedicated global state indices.</p>\n<p>The Inventory Harvester validates data against Wazuh Common Schemas and batches it for delivery to the indexer.</p>\n<p>Its index table assigns installed packages to <code>wazuh-states-inventory-packages-*</code>, open ports to <code>wazuh-states-inventory-ports-*</code> and detected vulnerabilities to <code>wazuh-states-vulnerabilities-*</code>.</p>\n<h2>What the source does not establish</h2>\n<p>This article selects a documented state-data population and its processing path. It does not prove that an endpoint is currently reachable, prescribe an exact freshness interval or equate a missing inventory record with an absent package or vulnerability.</p>\n<h2>Applicability questions</h2>\n<ul>\n<li>Is the question about packages, ports, vulnerabilities or another documented category?</li>\n<li>Which global state index represents that category?</li>\n<li>What endpoint and observation time can anchor the comparison?</li>\n<li>What collector, harvester or indexing evidence is available?</li>\n</ul>\n<h2>DSE recommendation: controlled next steps</h2>\n<p><em>The following steps are DSE recommendations based on the cited source.</em></p>\n<p>DSE recommends recording the selected state index and tracing a known endpoint observation through the inventory path before relying on the query.</p>\n<ol>\n<li>Write a concrete inventory question and choose its category from the applicable documentation. For a proposed package question, identify a harmless known installed package on an approved test endpoint; for a port question, choose a separately authorized known observation. Keep those case definitions distinct instead of assuming that an alert mentioning a package or port supplies the same inventory population.</li>\n<li>Record the actual selected index pattern, endpoint identity and available collection times. Compare the resulting state record with the approved source observation. If the record is absent or unexpected, investigate the collector-to-manager-to-indexer path with the relevant operators. Avoid relabeling the query as a live remote command or assigning a universal update delay that the deployment has not measured.</li>\n<li>Inspect available harvester and indexing diagnostics for the bounded case, preserving errors and retries for their responsible owner. Use the consumer&#8217;s documented query workflow to distinguish an index-selection mistake from a missing record. Keep broader endpoint compromise, software approval and vulnerability remediation decisions outside this inventory-path acceptance unless their separate evidence is supplied.</li>\n</ol>\n<h2>Verification and evidence</h2>\n<p>Proposed verification: compare the known package case with the package-state population, then review a separate category control so the index choice is explicit. Retain the endpoint observation, query scope and actual returned record together. If timing is relevant, measure the actual observed collection-to-query interval rather than copying a presumed service guarantee.</p>\n<p>Repeat the bounded trace after an authorized harmless change only when the endpoint owner approves that exercise. Preserve unresolved collection or indexing gaps instead of filling them with synthetic production records. No inventory collection, endpoint query or harvester test was performed for this article; the proposed checks do not establish completeness across all monitored systems.</p>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html\" target=\"_blank\" rel=\"noopener noreferrer\">Wazuh global queries</a> — Wazuh; official product documentation.</li>\n</ul>\n<p>Source review completed October 30, 2026. Recheck the official source and deployment-specific applicability before changing production settings.</p>\n",
        "content_text": "Bottom line: Choose the data category before entering an inventory query. Trace an unexpected result through the documented collection and indexing path instead of substituting a familiar alerts population.\nSource fact: documented behavior\nThe Wazuh global queries guide describes endpoint data collected periodically by modules such as Syscollector and centralized in dedicated global state indices.\nThe Inventory Harvester validates data against Wazuh Common Schemas and batches it for delivery to the indexer.\nIts index table assigns installed packages to wazuh-states-inventory-packages-*, open ports to wazuh-states-inventory-ports-* and detected vulnerabilities to wazuh-states-vulnerabilities-*.\nWhat the source does not establish\nThis article selects a documented state-data population and its processing path. It does not prove that an endpoint is currently reachable, prescribe an exact freshness interval or equate a missing inventory record with an absent package or vulnerability.\nApplicability questions\n\nIs the question about packages, ports, vulnerabilities or another documented category?\nWhich global state index represents that category?\nWhat endpoint and observation time can anchor the comparison?\nWhat collector, harvester or indexing evidence is available?\n\nDSE recommendation: controlled next steps\nThe following steps are DSE recommendations based on the cited source.\nDSE recommends recording the selected state index and tracing a known endpoint observation through the inventory path before relying on the query.\n\nWrite a concrete inventory question and choose its category from the applicable documentation. For a proposed package question, identify a harmless known installed package on an approved test endpoint; for a port question, choose a separately authorized known observation. Keep those case definitions distinct instead of assuming that an alert mentioning a package or port supplies the same inventory population.\nRecord the actual selected index pattern, endpoint identity and available collection times. Compare the resulting state record with the approved source observation. If the record is absent or unexpected, investigate the collector-to-manager-to-indexer path with the relevant operators. Avoid relabeling the query as a live remote command or assigning a universal update delay that the deployment has not measured.\nInspect available harvester and indexing diagnostics for the bounded case, preserving errors and retries for their responsible owner. Use the consumer’s documented query workflow to distinguish an index-selection mistake from a missing record. Keep broader endpoint compromise, software approval and vulnerability remediation decisions outside this inventory-path acceptance unless their separate evidence is supplied.\n\nVerification and evidence\nProposed verification: compare the known package case with the package-state population, then review a separate category control so the index choice is explicit. Retain the endpoint observation, query scope and actual returned record together. If timing is relevant, measure the actual observed collection-to-query interval rather than copying a presumed service guarantee.\nRepeat the bounded trace after an authorized harmless change only when the endpoint owner approves that exercise. Preserve unresolved collection or indexing gaps instead of filling them with synthetic production records. No inventory collection, endpoint query or harvester test was performed for this article; the proposed checks do not establish completeness across all monitored systems.\nOfficial references\n\nWazuh global queries — Wazuh; official product documentation.\n\nSource review completed October 30, 2026. Recheck the official source and deployment-specific applicability before changing production settings.",
        "content_markdown": "Bottom line: Choose the data category before entering an inventory query. Trace an unexpected result through the documented collection and indexing path instead of substituting a familiar alerts population.\n\n## Source fact: documented behavior\n\nThe [Wazuh global queries](https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html) guide describes endpoint data collected periodically by modules such as Syscollector and centralized in dedicated global state indices.\n\nThe Inventory Harvester validates data against Wazuh Common Schemas and batches it for delivery to the indexer.\n\nIts index table assigns installed packages to wazuh-states-inventory-packages-*, open ports to wazuh-states-inventory-ports-* and detected vulnerabilities to wazuh-states-vulnerabilities-*.\n\n## What the source does not establish\n\nThis article selects a documented state-data population and its processing path. It does not prove that an endpoint is currently reachable, prescribe an exact freshness interval or equate a missing inventory record with an absent package or vulnerability.\n\n## Applicability questions\n\n- Is the question about packages, ports, vulnerabilities or another documented category?\n\n- Which global state index represents that category?\n\n- What endpoint and observation time can anchor the comparison?\n\n- What collector, harvester or indexing evidence is available?\n\n## DSE recommendation: controlled next steps\n\nThe following steps are DSE recommendations based on the cited source.\n\nDSE recommends recording the selected state index and tracing a known endpoint observation through the inventory path before relying on the query.\n\n- Write a concrete inventory question and choose its category from the applicable documentation. For a proposed package question, identify a harmless known installed package on an approved test endpoint; for a port question, choose a separately authorized known observation. Keep those case definitions distinct instead of assuming that an alert mentioning a package or port supplies the same inventory population.\n\n- Record the actual selected index pattern, endpoint identity and available collection times. Compare the resulting state record with the approved source observation. If the record is absent or unexpected, investigate the collector-to-manager-to-indexer path with the relevant operators. Avoid relabeling the query as a live remote command or assigning a universal update delay that the deployment has not measured.\n\n- Inspect available harvester and indexing diagnostics for the bounded case, preserving errors and retries for their responsible owner. Use the consumer’s documented query workflow to distinguish an index-selection mistake from a missing record. Keep broader endpoint compromise, software approval and vulnerability remediation decisions outside this inventory-path acceptance unless their separate evidence is supplied.\n\n## Verification and evidence\n\nProposed verification: compare the known package case with the package-state population, then review a separate category control so the index choice is explicit. Retain the endpoint observation, query scope and actual returned record together. If timing is relevant, measure the actual observed collection-to-query interval rather than copying a presumed service guarantee.\n\nRepeat the bounded trace after an authorized harmless change only when the endpoint owner approves that exercise. Preserve unresolved collection or indexing gaps instead of filling them with synthetic production records. No inventory collection, endpoint query or harvester test was performed for this article; the proposed checks do not establish completeness across all monitored systems.\n\n## Official references\n\n- [Wazuh global queries](https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html) — Wazuh; official product documentation.\n\nSource review completed October 30, 2026. Recheck the official source and deployment-specific applicability before changing production settings."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
                "url": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-10-30"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Cybersecurity",
                        "item": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Choose the Wazuh state index for an inventory question",
                        "item": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/#article",
                "identifier": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
                "url": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/",
                "headline": "Choose the Wazuh state index for an inventory question",
                "description": "Choose the documented Wazuh global state index for the inventory question.",
                "abstract": "Choose the documented Wazuh global state index for the inventory question. Preserve the periodic collection and harvester/indexer path instead of treating an alerts search as a live endpoint query.",
                "articleBody": "Bottom line: Choose the data category before entering an inventory query. Trace an unexpected result through the documented collection and indexing path instead of substituting a familiar alerts population.\nSource fact: documented behavior\nThe Wazuh global queries guide describes endpoint data collected periodically by modules such as Syscollector and centralized in dedicated global state indices.\nThe Inventory Harvester validates data against Wazuh Common Schemas and batches it for delivery to the indexer.\nIts index table assigns installed packages to wazuh-states-inventory-packages-*, open ports to wazuh-states-inventory-ports-* and detected vulnerabilities to wazuh-states-vulnerabilities-*.\nWhat the source does not establish\nThis article selects a documented state-data population and its processing path. It does not prove that an endpoint is currently reachable, prescribe an exact freshness interval or equate a missing inventory record with an absent package or vulnerability.\nApplicability questions\n\nIs the question about packages, ports, vulnerabilities or another documented category?\nWhich global state index represents that category?\nWhat endpoint and observation time can anchor the comparison?\nWhat collector, harvester or indexing evidence is available?\n\nDSE recommendation: controlled next steps\nThe following steps are DSE recommendations based on the cited source.\nDSE recommends recording the selected state index and tracing a known endpoint observation through the inventory path before relying on the query.\n\nWrite a concrete inventory question and choose its category from the applicable documentation. For a proposed package question, identify a harmless known installed package on an approved test endpoint; for a port question, choose a separately authorized known observation. Keep those case definitions distinct instead of assuming that an alert mentioning a package or port supplies the same inventory population.\nRecord the actual selected index pattern, endpoint identity and available collection times. Compare the resulting state record with the approved source observation. If the record is absent or unexpected, investigate the collector-to-manager-to-indexer path with the relevant operators. Avoid relabeling the query as a live remote command or assigning a universal update delay that the deployment has not measured.\nInspect available harvester and indexing diagnostics for the bounded case, preserving errors and retries for their responsible owner. Use the consumer’s documented query workflow to distinguish an index-selection mistake from a missing record. Keep broader endpoint compromise, software approval and vulnerability remediation decisions outside this inventory-path acceptance unless their separate evidence is supplied.\n\nVerification and evidence\nProposed verification: compare the known package case with the package-state population, then review a separate category control so the index choice is explicit. Retain the endpoint observation, query scope and actual returned record together. If timing is relevant, measure the actual observed collection-to-query interval rather than copying a presumed service guarantee.\nRepeat the bounded trace after an authorized harmless change only when the endpoint owner approves that exercise. Preserve unresolved collection or indexing gaps instead of filling them with synthetic production records. No inventory collection, endpoint query or harvester test was performed for this article; the proposed checks do not establish completeness across all monitored systems.\nOfficial references\n\nWazuh global queries — Wazuh; official product documentation.\n\nSource review completed October 30, 2026. Recheck the official source and deployment-specific applicability before changing production settings.",
                "datePublished": "2026-10-30T06:47:10+00:00",
                "dateModified": "2026-10-30T06:47:29+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/choose-the-wazuh-state-index-for-an-inventory-question/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Choose the Wazuh state index for an inventory question"
                },
                "articleSection": [
                    "Cybersecurity",
                    "IT"
                ],
                "keywords": [
                    "Cybersecurity",
                    "IT",
                    "Guide",
                    "Advisory priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Cybersecurity",
                        "url": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 512,
                "timeRequired": "PT3M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Wazuh — Wazuh global queries",
                    "url": "https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/global-queries.html"
                }
            }
        ]
    }
}