Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compliance rule groups to specific XML tag. #4009

Open
3 tasks
danimegar opened this issue Sep 25, 2019 · 0 comments
Open
3 tasks

Compliance rule groups to specific XML tag. #4009

danimegar opened this issue Sep 25, 2019 · 0 comments
Labels
type/enhancement New feature or request

Comments

@danimegar
Copy link
Contributor

Wazuh version Component Install type Install method Platform
3.11.0-rev Ruleset Manager Packages/Sources Linux

Goal

A feature we want to implement is to replace the XML tag 'group' for 'compliance' in rules. Rules XML structure will be as follows:

<rule id="100002" level="3">
    <description> Rule XML structure example.</description>
    <compliance>
      <pci_dss>10.2.5</pci_dss>
      <pci_dss>10.2.2</pci_dss>
      <gpg>13_7.6</gpg>
      <gpg>13_7.8</gpg>
      <gpg>13_7.13</gpg>
      <gdpr>IV_32.2</gdpr>
      <hipaa>164.312.b</hipaa>
      <nist>800_53_AU.3.1</nist>
      <nist>800_53_IA.10</nist>
    </compliance> 
</rule>

Sample of an alert related to this rule:

"rule":{
        "level":3,
        "description":" Rule XML structure example.",
        "id":"100002",
        "compliance":{
                  "pci_dss":["10.2.5","10.2.2"],
                  "gpg":["13_7.6","13_7.8","13_7.13"],
                  "gdpr":["IV_32.2"],
                  "hipaa":["164.312.b"],
                  "nist":["800_53_AU.3.1","800_53_IA.10"]
                    },
           },

Points to consider:

  1. Ruleset shall replace group XML tag with compliance XML tags
  2. Alerts will include such reference.
  3. Wazuh API shall update an endpoint to query the different compliances so that Wazuh App will show the corresponding data for the alerts.

Subtasks

  • Update ruleset with compliance XML tag, including documentation.
  • Update alerts to show compliance information.
  • Update/add an endpoint to the API to query an specific compliance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants