Skip to content

Broken network manager report URLs #279

@RichLandau1

Description

@RichLandau1

The report URLs such defined in network_manager.py such as nm_get_reports_hex fail due to two problems:

  1. The manager expects the form (hex) to be a query parameter, such as /agents/eid/<id>/reports?form=hex. ANMS is using /agents/eid/<id>/reports/hex.
  2. The content type from the manager is text/plain, while ANMS is attempting to parse it as JSON. This causes an exception to be thrown in the handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CRIT-4Defect means software does not work as originally intended.bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions