Sign inSign up

cingulara/openrmf-api-report

By cingulara

•Updated 5 months ago

The API for the OpenRMF tool for reading report data from a MongoDB database.

Image
0

10K+

cingulara/openrmf-api-report repository overview

.NET Core Build and Test

⁠openrmf-api-report

This is the OpenRMF Reports API for running reports with data formatted for quick querying.

  • GET to /system/{systemGroupId}/acaspatchdata to get a NESSUS ACAS Patch data report
  • GET to /system/{systemGroupId}/vulnid/{vulnid} to get a list of Vunlerabilities based on the VULN ID passed
  • POST to /reloaddata to reload report data from checklists and Nessus ACAS scan file data
  • /swagger/ gives you the API structure.

⁠NATS Messaging calls made

  • openrmf.report.refresh.nessuspatchdata to reload Nessus data across all systems
  • openrmf.report.refresh.vulnerabilitydata to reload all individual vulnerability data per checklists across all systems

⁠Making your local Docker image

  • make build
  • make latest

⁠creating the user

  • ~/mongodb/bin/mongo 'mongodb://root:myp2ssw0rd@localhost'
  • use admin
  • db.createUser({ user: "openrmfreport" , pwd: "openrmf1234!", roles: ["readWriteAnyDatabase"]});
  • use openrmfreport

⁠connecting to the database collection straight

~/mongodb/bin/mongo 'mongodb://openrmfreport:openrmf1234!@localhost/openrmfreport?authSource=admin'

⁠Using Jaeger

The Jaeger Client is https://github.com/jaegertracing/jaeger-client-csharp⁠. We use defaults but you can specify ENV for configuration.

Tag summary

Content type

Image

Digest

Size

47.8 MB

Last updated

over 5 years ago

docker pull cingulara/openrmf-api-report