Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Layer validator #3

Closed
isaisabel opened this issue Mar 15, 2019 · 1 comment
Closed

Layer validator #3

isaisabel opened this issue Mar 15, 2019 · 1 comment
Labels
layers Pertaining to the ATT&CK Layer format new script New scripts to add seeking feedback Seeking feedback from the community on this issue timescale/short-term Becomes timescale/imminent in weeks or months

Comments

@isaisabel
Copy link
Contributor

Both #1 and #2 should validate input and output layers to make sure they match the schema. The validation function should be both generalized and flexible to multiple use cases.

  • An optional flag should be provided for allowing layers to include additional fields in the schema (non-strict checking). If the flag is not present the script will report a break from the schema as soon as an unexpected field is present.
  • The script should be able to return multiple kinds of reports.
    • whether or not the layer is valid (boolean)
    • list of ways the layer does not conform to the schema
    • human readable report on how the layer does not match the schema, for printing to the console
@isaisabel isaisabel added new script New scripts to add seeking feedback Seeking feedback from the community on this issue layers Pertaining to the ATT&CK Layer format labels Mar 15, 2019
@isaisabel isaisabel added the timescale/short-term Becomes timescale/imminent in weeks or months label Nov 21, 2019
@isaisabel
Copy link
Contributor Author

Now released on the master branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
layers Pertaining to the ATT&CK Layer format new script New scripts to add seeking feedback Seeking feedback from the community on this issue timescale/short-term Becomes timescale/imminent in weeks or months
Projects
None yet
Development

No branches or pull requests

1 participant