Skip to content

Commit

Permalink
2.40.7
Browse files Browse the repository at this point in the history
Automatically generated by python-semantic-release
  • Loading branch information
vmaas-bot committed Sep 12, 2024
1 parent 6b529e7 commit 12441cd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# CHANGELOG

## v2.40.7 (2024-09-12)

### Chore

* chore(ephemeral): remove --no-remove-resources

RHINENG-11573 ([`4cc5da1`](https://github.com/RedHatInsights/vulnerability-engine/commit/4cc5da12f9bd7f9823964cef40ac19e7ff0e6a22))

### Fix

* fix: workaround cve_cache issue with inventory groups

When there are 2 users with different inventory groups in the same account, they can be invalidating cache for each other which will cause that api is slow for both of them.
Cache only access to all inventory hosts. When a user doesn't have any inventory groups, then the query will be used without cache.

Stats from DB:
count of accounts | inventory groups
31581 | [] // access to all hosts
1 | [[]] // access to ungrouped hosts only
6 | access to only 1 inventory group
1 | access to 1 group and to ungrouped hosts
1 | access to multiple groups and ungrouped hosts

RHINENG-12465 ([`6b529e7`](https://github.com/RedHatInsights/vulnerability-engine/commit/6b529e79ef155ef4a6aabf73b98294ac42a675e3))

## v2.40.6 (2024-08-19)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

CFG = Config()

APP_VERSION = "2.40.6"
APP_VERSION = "2.40.7"
TIMESTAMP_LAST_REPO_BASED_EVAL = "last_eval_repo_based"
VMAAS_CVES_ENDPOINT = f"{CFG.vmaas_host}/api/vmaas/v3/cves"
VMAAS_REPOS_ENDPOINT = f"{CFG.vmaas_host}/api/vmaas/v3/repos"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ profile = "black"

[tool.poetry]
name = "vulnerability-engine"
version = "2.40.6"
version = "2.40.7"
description = ""
authors = ["RH Insights <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 12441cd

Please sign in to comment.