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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b3de79500c9a8710415abccb238af016fa671905436a2e19ff71df5d6657b10
|
|
4
|
+
data.tar.gz: 57889fa6b7ebcfca9573f6a3acced87c01ad5aedbfc147188b37e5d381221001
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/.*},
|
data/package.json
CHANGED
|
@@ -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 },
|