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

AF-161 Fix Build #104

Merged
merged 9 commits into from
Aug 31, 2023
Merged

AF-161 Fix Build #104

merged 9 commits into from
Aug 31, 2023

Commits on Aug 31, 2023

  1. Changed validate to make sure the json are published through the CLI …

    …before validating corpus.
    tleef42 authored and mehaase committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    131dc47 View commit details
    Browse the repository at this point in the history
  2. AF-161 Fix build

    - Install node dependencies in the test.yml workflow (it's needed for publishing JSONs so that we can validate
      flows in the corpus)
    - Builder config changes:
        * windows_registry_key values should be a list of dictionaries, not a list of strings
        * file.size should be an int, not a string
    - Validator changes:
        * The flow's "scope" property is required
        * Empty items should not be allowed in lists
        * Fix artifact required fields logic
        * Additional validation for hashes: the VMware TA2 was failing due to an invalid MD5 string, add regex for hashes
    - Publisher changes:
        * Flow scope should emit the raw enum value, e.g. "threat-actor" not "Threat Actor"
        * Emit the entire STIX ID for each start ref, not just the GUID part
        * Add an implementation for merging a basic list of basic dicts (needed for windows_registry_key)
        * externals_refs: null properties should not be emitted
    - Update all .afb files to pass builder's validation
    mehaase committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f0204a4 View commit details
    Browse the repository at this point in the history
  3. Fix build

    - Fix broken python test
    - Add workaround for using Browser.ts in non-browser context
    - Run `make docs-examples` to update example_flows.rst
    mehaase committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    71139f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    890aca9 View commit details
    Browse the repository at this point in the history
  5. Fix build

    Move JSON validation from python build to python+node build
    mehaase committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b087e43 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a3fa2be View commit details
    Browse the repository at this point in the history
  7. Update README badges

    mehaase committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    05d3947 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bffee95 View commit details
    Browse the repository at this point in the history
  9. fix artifact validation

    mikecarenzo committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6aab2cb View commit details
    Browse the repository at this point in the history