foreman_rh_cloud 14.6.1 → 14.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b80cb2de0c22cf0c9e0d878a88effd7553dc3c38b9101ecf0a7381f9b217f281
4
- data.tar.gz: d342a910cb349b96a18519632cb408db1b4f91c6f85833f93646821af6f8cb73
3
+ metadata.gz: 7b3de79500c9a8710415abccb238af016fa671905436a2e19ff71df5d6657b10
4
+ data.tar.gz: 57889fa6b7ebcfca9573f6a3acced87c01ad5aedbfc147188b37e5d381221001
5
5
  SHA512:
6
- metadata.gz: 32c9dbb72480c907d77a2f211510cea5922350ac5a313bb862f7c567fac87efe41deab149231769f07bf0fc20145f0376573a323435b7363fc7fafe5b7b0af33
7
- data.tar.gz: 47eb84a4c683107c27f0dc403d8864b3999d691f10c316aea184f32fb89812a4d1476927215bec12ca34b6968198b4e48fa0d7994d00fb6bbd21eb36a002dacb
6
+ metadata.gz: 5198e2ad4159037c46d5b9abcd03183830e05457f32c7037d71e3404e122409fd869a92d19ecf76d9b0d0c06cd26dc523f67097d06bdfe2b05aa489f6caac1c5
7
+ data.tar.gz: b5ae0158a1ec6c1c4641f93b3cf81de2f63c7d27abe2e7a3908c7c686238b3a923e3a05f53de2d8def625f13b26da3c4bba11fe4d5b3e6b4f17f1d6e83e8cd04
@@ -39,6 +39,7 @@ module ForemanRhCloud
39
39
  # edit_vulnerability | PATCH /api/vulnerability/v1/cves/status
40
40
  # | PATCH /api/vulnerability/v1/cves/business_risk
41
41
  # edit_vulnerability | PATCH /api/vulnerability/v1/systems/opt_out
42
+ # | PATCH /api/vulnerability/v1/feature/cves_without_errata
42
43
  #
43
44
  # view_advisor | GET /api/insights/v1/*
44
45
  # edit_advisor | POST /api/insights/v1/ack/
@@ -239,6 +240,14 @@ module ForemanRhCloud
239
240
  'GET' => :view_vulnerability,
240
241
  },
241
242
  },
243
+ # CVEs without errata feature flag - no tags support (per OpenAPI spec)
244
+ {
245
+ test: %r{api/vulnerability/v1/feature/cves_without_errata$},
246
+ permissions: {
247
+ 'GET' => :view_vulnerability,
248
+ 'PATCH' => :edit_vulnerability,
249
+ },
250
+ },
242
251
  # Other vulnerability endpoints - GET requires view_vulnerability (with tags support)
243
252
  {
244
253
  test: %r{api/vulnerability/v1/.*},
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '14.6.1'.freeze
2
+ VERSION = '14.6.2'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "14.6.1",
3
+ "version": "14.6.2",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -427,6 +427,8 @@ class UIRequestForwarderTest < ActiveSupport::TestCase
427
427
  { path: 'api/vulnerability/v1/cves/CVE-2024-1234', method: 'GET', expected: :view_vulnerability },
428
428
  { path: 'api/vulnerability/v1/playbooks/abc-123', method: 'GET', expected: :view_vulnerability },
429
429
  { path: 'api/vulnerability/v1/report/abc-123', method: 'GET', expected: :view_vulnerability },
430
+ { path: 'api/vulnerability/v1/feature/cves_without_errata', method: 'GET', expected: :view_vulnerability },
431
+ { path: 'api/vulnerability/v1/feature/cves_without_errata', method: 'PATCH', expected: :edit_vulnerability },
430
432
  # Advisor endpoints
431
433
  { path: 'api/insights/v1/stats/systems', method: 'GET', expected: :view_advisor },
432
434
  { path: 'api/insights/v1/ack/', method: 'POST', expected: :edit_advisor },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_rh_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.6.1
4
+ version: 14.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Red Hat Cloud team