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

feat: global matchers #5701

Merged
merged 11 commits into from
Oct 14, 2024
Merged

feat: global matchers #5701

merged 11 commits into from
Oct 14, 2024

Commits on Oct 7, 2024

  1. feat: global matchers

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    Co-authored-by: Ice3man543 <ice3man543@users.noreply.github.com>
    dwisiswant0 and Ice3man543 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7e2925d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. feat(globalmatchers): make Callback as type

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    86e8f28 View commit details
    Browse the repository at this point in the history
  2. feat: update passive term to (matchers-)static

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1f78cda View commit details
    Browse the repository at this point in the history
  3. feat(globalmatchers): add origin-template-* event

    also use `Set` method instead of `maps.Clone`
    
    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7ffa809 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. feat: update matchers-static term to global-matchers

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    eb42bf4 View commit details
    Browse the repository at this point in the history
  2. feat(globalmatchers): clone event before operator.Execute

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d9d83ab View commit details
    Browse the repository at this point in the history
  3. fix(tmplexec): don't store matched on global-matchers templ

    This will end up generating 2 events from the same
    `scan.ScanContext` if one of the templates has
    `global-matchers` enabled. This way, non-
    `global-matchers` templates can enter the
    `writeFailureCallback` func to log failure output.
    
    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    4bbb949 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. feat(globalmatchers): initializes requests on New

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    123d852 View commit details
    Browse the repository at this point in the history
  2. feat(globalmatchers): add hasStorage method

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4ffeb1a View commit details
    Browse the repository at this point in the history
  3. refactor(templates): rename global matchers checks method

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    44b82ad View commit details
    Browse the repository at this point in the history
  4. fix(loader): handle nil templates.Template pointer

    Signed-off-by: Dwi Siswanto <git@dw1.io>
    dwisiswant0 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    12f6cb5 View commit details
    Browse the repository at this point in the history