Skip to content

PUV - Write individual check results into individual json files of new dir as checks complete #249

@monrog2

Description

@monrog2

Will put in full example json once I have those details.

Bottom line:

  1. Create an output dir called something like /puv-results
  2. Each check should write back its own check_name.json file into /puv-results
  3. the JSON has a specific structure that much be followed with existing details. New keys can be added into that structure.

rule completion structure example:

 {
    "syntheticMaintPValidate": {
        "attributes": {
            "description": "This validation checks whether the fault F606391 is present or not.",
            "name": "Check LLDP/CDP Adjacency Fault",
            "reason": "",
            "recommended_action": "",
            "rn": "rule-lldpCdpFaultcheck",
            "ruleStatus": "passed",
            "severity": "critical",
            "status": "created,modified",
            "sub_reason": "<fault>"
        }
    }
} 

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions