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

Wazuh API is not parsing properly some group files #279

Open
jesusgn90 opened this issue Jan 17, 2019 · 0 comments
Open

Wazuh API is not parsing properly some group files #279

jesusgn90 opened this issue Jan 17, 2019 · 0 comments
Labels

Comments

@jesusgn90
Copy link

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": {}
   }
}
@jesusgn90 jesusgn90 added the bug label Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant