diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 11e71c1da..dcdfa25d1 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -408,8 +408,7 @@ jobs: mv meta ${{ github.workspace }}/CredData/ - name: Set up Python 3.10 - if: steps.cache-data.outputs.cache-hit != 'true' - uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3.1.4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 with: python-version: "3.10" diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5c22d3a86..14b0305cf 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -35,12 +35,12 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - # # # ml_config & ml_model integrity - - - name: Check ml_model.onnx integrity + # # # integrity for train diagram match + + - name: Check ml_config.json and ml_model.onnx integrity if: ${{ always() && steps.code_checkout.conclusion == 'success' }} run: | - md5sum --binary credsweeper/ml_model/ml_config.json | grep ec3ac77a923fed769fd95d567ef75137 + md5sum --binary credsweeper/ml_model/ml_config.json | grep 092a588d5bebdac5136c4d01c87abf27 md5sum --binary credsweeper/ml_model/ml_model.onnx | grep a707745d781517556fd58890cb2812be # # # line ending @@ -224,4 +224,9 @@ jobs: # check whether current version exists in the file grep $V SECURITY.md + # # # from https://github.com/step-security-bot/CredSweeper/commit/dbc01f2709c56f69e2d8fd717156385f42b7bbf5 + + - name: Dependency Review + uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0 + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/SECURITY.md b/SECURITY.md index 5d1fe818a..628c3763b 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | |---------|--------------------| -| 1.9.x | :white_check_mark: | -| <1.9.x | :x: | +| 1.10.x | :white_check_mark: | +| <1.10.x | :x: | ## Reporting a Vulnerability diff --git a/credsweeper/__init__.py b/credsweeper/__init__.py index c03923bf5..ebe783388 100644 --- a/credsweeper/__init__.py +++ b/credsweeper/__init__.py @@ -18,4 +18,4 @@ '__version__' ] -__version__ = "1.9.6" +__version__ = "1.10.0" diff --git a/credsweeper/ml_model/ml_config.json b/credsweeper/ml_model/ml_config.json index feebbbec2..407bfa550 100644 --- a/credsweeper/ml_model/ml_config.json +++ b/credsweeper/ml_model/ml_config.json @@ -411,4 +411,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/data/depth_3.json b/tests/data/depth_3.json index e7ac5671a..f0c4c2c15 100644 --- a/tests/data/depth_3.json +++ b/tests/data/depth_3.json @@ -13859,4 +13859,4 @@ } ] } -] \ No newline at end of file +] diff --git a/tests/data/doc.json b/tests/data/doc.json index d63148d99..3684276cd 100644 --- a/tests/data/doc.json +++ b/tests/data/doc.json @@ -19486,4 +19486,4 @@ } ] } -] \ No newline at end of file +] diff --git a/tests/data/ml_threshold.json b/tests/data/ml_threshold.json index 65565c086..b8d5aa894 100644 --- a/tests/data/ml_threshold.json +++ b/tests/data/ml_threshold.json @@ -11424,4 +11424,4 @@ } ] } -] \ No newline at end of file +] diff --git a/tests/data/output.json b/tests/data/output.json index 4f6e4c81e..c2c06a5cd 100644 --- a/tests/data/output.json +++ b/tests/data/output.json @@ -10592,4 +10592,4 @@ } ] } -] \ No newline at end of file +]