Skip to content

Wazuh API is not parsing properly some group files #279

Open
@jesusgn90

Description

@jesusgn90

Copy this sample file from oscap to some group:

# cp /var/ossec/wodles/oscap/content/ssg-fedora-24-ds.xml /var/ossec/etc/shared/staging/

Change owner:group

# chown ossec:ossec /var/ossec/etc/shared/staging/ssg-fedora-24-ds.xml 

The API is not showing its content

# curl foo:bar@localhost:55000/agentsttyoups/staging/files/ssg-fedora-24-ds.xml?pre 
{
   "error": 0,
   "data": {
      "controls": [
         {}
      ],
      "vars": {}
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions