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

[newPlatform] [browserSide] [Migration with AngularJS] Adapt reporting to the new backend endpoints #2728

Closed
2 tasks done
Desvelao opened this issue Jan 5, 2021 · 5 comments · Fixed by #2748
Closed
2 tasks done
Assignees

Comments

@Desvelao
Copy link
Member

Desvelao commented Jan 5, 2021

Parent issue #2727
Branch 4.0-7.10-adapt-reports-new-endpoints

Description

The frontend needs to be adapted to the new backend endpoints to create reports.

Endpoints

The POST /reports endpoints has been split into 4, one for each type of report:

  • POST /reports/modules/{moduleID}: Create reports for the modules
  • POST /reports/groups/{groupID}: Create reports for the groups
  • POST /reports/agents/{agentID}: Create reports for the agents
  • POST /reports/agents/{agentID}/inventory: Create reports for the agent inventory
    Issue: [newPlatform] Migration of Routers - Reports endpoints #2686

Tasks

  • Adapt the requests to create reports to new backend endpoints
  • Testing each type of reports is generated with the correct information
@Desvelao
Copy link
Member Author

Desvelao commented Jan 5, 2021

Testing POST /reports/modules/{moduleID}

Security information management

  • Security Events
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • Integrity monitoring
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • Amazon AWS
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • Google Cloud Platform
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both

Auditing and Policy Monitoring

  • Policy monitoring
  • No agent selected
    • Without filters
    • With filters
      • Searchbar filter
      • Filter
      • Both
  • Agent pinned/selected
    • Without filters
    • With filters
      • Searchbar filter
      • Filter
      • Both
  • System Auditing
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • OpenSCAP
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • CIS-CAT
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both

Threat detection and response

  • Vulnerabilities
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • VirusTotal
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • Osquery
  • No agent selected
    • Without filters
    • With filters
      • Searchbar filter
      • Filter
      • Both
  • Agent pinned/selected
    • Without filters
    • With filters
      • Searchbar filter
      • Filter
      • Both
  • Docker Listener
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • MITRE ATT&CK
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both

Regulatory Compliance

  • PCI DSS
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • GDPR
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • HIPAA
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • NIST 800-53
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
  • TSC
    • No agent selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both
    • Agent pinned/selected
      • Without filters
      • With filters
        • Searchbar filter
        • Filter
        • Both

@Desvelao
Copy link
Member Author

Desvelao commented Jan 5, 2021

Testing POST /reports/groups/{groupID}

(To be defined)

@Desvelao
Copy link
Member Author

Desvelao commented Jan 5, 2021

Testing POST /reports/agents/{agentID}

(To be defined)

@Desvelao
Copy link
Member Author

Desvelao commented Jan 5, 2021

Testing POST /reports/agents/{agentID}/inventory

(To be defined)

@Desvelao
Copy link
Member Author

Desvelao commented Jan 7, 2021

Changes

  • The ReportingService is now used in the ReactJS components instead of coming through AngularJS properties.
  • Adapted the reports to the different endpoints:
    • Removed some unused body properties of frontend requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants