forked from guacsec/trustify-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadvisory-explorer.feature
More file actions
93 lines (69 loc) · 3.47 KB
/
advisory-explorer.feature
File metadata and controls
93 lines (69 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Feature: Advisory Explorer
Background: Authentication
Given User is authenticated
# Search for advisories
Scenario: Search for an advisory using the general search bar
When User searches for an advisory named "<advisoryID>" in the general search bar
Then The advisory "<advisoryID>" shows in the results
Examples:
| advisoryID |
| CVE-2024-26308 |
Scenario: Search for an advisory using the dedicated search bar
When User searches for "<advisoryID>" in the dedicated search bar
Then The advisory "<advisoryID>" shows in the results
Examples:
| advisoryID |
| CVE-2024-26308 |
# Advisory Explorer
Scenario: Display an overview of an advisory
When User visits Advisory details Page of "<advisoryID>"
Then The page title is "<advisoryID>"
Then The "Download" action is available
Examples:
| advisoryID |
| CVE-2024-26308 |
Scenario: Download an advisory
When User visits Advisory details Page of "<advisoryID>"
Then "Download Advisory" action is invoked and downloaded filename is "<fileName>"
Examples:
| advisoryID | fileName |
| CVE-2024-26308 | CVE-2024-26308.json |
Scenario: Display the Info tab
When User visits Advisory details Page of "<advisoryID>"
Then The "Overview" panel is visible
Then The "Publisher" panel is visible
Then The "Tracking" panel is visible
Examples:
| advisoryID |
| CVE-2024-26308 |
# Advisory Vulnerabilities
Scenario: Display vulnerabilities tied to a single advisory
Given User visits Advisory details Page of "<advisoryName>" with type "<advisoryType>"
Then User navigates to the Vulnerabilities tab on the Advisory Overview page
Then Pagination of "vulnerability" table works
Then A list of all active vulnerabilites tied to the advisory should display
And The "ID, Title, Discovery, Release, Score, CWE" information should be visible for each vulnerability
And The vulnerabilities should be sorted by ID by default
And User visits Vulnerability details Page of "<vulnerabilityID>" by clicking it
Examples:
| advisoryName | vulnerabilityID | advisoryType |
| CVE-2023-3223 | CVE-2023-3223 | csaf |
Scenario: Delete an advisory from the Advisory Explorer page
Given User visits Advisory details Page of "<advisoryID>"
When User Clicks on Actions button and Selects Delete option from the drop down
When User select Delete button from the Permanently delete Advisory model window
Then The Advisory deleted message is displayed
And Application Navigates to Advisory list page
And The "<advisoryID>" should not be present on Advisory list page as it is deleted
Examples:
| advisoryID |
| CVE-2025-22130 |
Scenario: Delete an advisory from the Advisory List Page
When User Deletes "<advisoryID>" using the toggle option from Advisory List Page
When User select Delete button from the Permanently delete Advisory model window
Then The Advisory deleted message is displayed
And Application Navigates to Advisory list page
And The "<advisoryID>" should not be present on Advisory list page as it is deleted
Examples:
| advisoryID |
| CVE-2023-1906 |