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

[Entity Analytics] Move scripted metric painless scripts to static file & remove category based weighting #182038

Merged
merged 27 commits into from
May 17, 2024

Commits on Apr 29, 2024

  1. Try making risk engine painless scripts static. also remove category …

    …based weighting
    
    the category based weighting, like all weighting, isn't used and we probably won't re-implement it in the next version of risk scoring
    
    this commit probably doesn't work. i can't get integration tests running locally
    
    I put the painless scripts in a directory and I load them from the file system at runtime.
    
    We should figure out how to bundle the scripts possibly. I'm not sure that it matters a lot, but I would like any static analysis processes to be able to work with this code as usual. e.g. i'd like to get a static-time error if a file is missing vs needing to run the risk engine task to find out a file is missing
    oatkiller committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    df28ab8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62b2ba6 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. move to async loading

    hop-dev committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b1b6f0b View commit details
    Browse the repository at this point in the history
  2. update test description

    hop-dev committed May 10, 2024
    Configuration menu
    Copy the full SHA
    a37811e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d6bae6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b1b2d6f View commit details
    Browse the repository at this point in the history
  5. Merge branch 'risk-score-painless-refactor' of https://github.com/ela…

    …stic/kibana into risk-score-painless-refactor
    hop-dev committed May 10, 2024
    Configuration menu
    Copy the full SHA
    7f5a753 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b34b5a0 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. remove commented out code

    hop-dev committed May 13, 2024
    Configuration menu
    Copy the full SHA
    691bda5 View commit details
    Browse the repository at this point in the history
  2. fix risk scoring

    hop-dev committed May 13, 2024
    Configuration menu
    Copy the full SHA
    9ff6505 View commit details
    Browse the repository at this point in the history
  3. minimise painless

    hop-dev committed May 13, 2024
    Configuration menu
    Copy the full SHA
    66f317c View commit details
    Browse the repository at this point in the history
  4. Merge branch 'risk-score-painless-refactor' of https://github.com/ela…

    …stic/kibana into risk-score-painless-refactor
    hop-dev committed May 13, 2024
    Configuration menu
    Copy the full SHA
    cd67a37 View commit details
    Browse the repository at this point in the history
  5. re-add sorting

    hop-dev committed May 13, 2024
    Configuration menu
    Copy the full SHA
    c99a6c3 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. condense painless further

    hop-dev committed May 14, 2024
    Configuration menu
    Copy the full SHA
    5690955 View commit details
    Browse the repository at this point in the history
  2. make score a double

    hop-dev committed May 14, 2024
    Configuration menu
    Copy the full SHA
    c4ef442 View commit details
    Browse the repository at this point in the history
  3. remove category score test

    hop-dev committed May 14, 2024
    Configuration menu
    Copy the full SHA
    18b9171 View commit details
    Browse the repository at this point in the history
  4. remove category weight types

    hop-dev committed May 14, 2024
    Configuration menu
    Copy the full SHA
    69f6b1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfc7be6 View commit details
    Browse the repository at this point in the history
  6. update jest snapshot

    hop-dev committed May 14, 2024
    Configuration menu
    Copy the full SHA
    9d2a3be View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. remove category weight tests

    hop-dev committed May 15, 2024
    Configuration menu
    Copy the full SHA
    8065dff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6398ac0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a00eb04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c8ef19f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f15a20 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    26f6e25 View commit details
    Browse the repository at this point in the history
  2. remove category weights again

    hop-dev committed May 16, 2024
    Configuration menu
    Copy the full SHA
    471c1c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bd54e4 View commit details
    Browse the repository at this point in the history