-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-samples.http
More file actions
126 lines (82 loc) · 3.12 KB
/
api-samples.http
File metadata and controls
126 lines (82 loc) · 3.12 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# ===========================
# CVEs API
# ===========================
# Get a list of CVEs for the given Garden Linux version
GET {{proto}}://{{host}}:{{port}}/v1/cves/1877.10
###
# Get a list of CVEs for a specific Garden Linux image
GET {{proto}}://{{host}}:{{port}}/v1/cves/1877.10/image/azure-gardener_prod
###
# Get a list of CVEs for a list of packages in a given Garden Linux version
GET {{proto}}://{{host}}:{{port}}/v1/cves/1877.10/packages/jinja2,rsync
###
# Get a list of CVEs for a list of packages (using PUT)
PUT {{proto}}://{{host}}:{{port}}/v1/cves/1877.10/packages
Content-Type: application/json
{
"packageNames": ["jinja2", "rsync"]
}
###
# ===========================
# Packages API
# ===========================
# Get a list of CVEs for the given source package
GET {{proto}}://{{host}}:{{port}}/v1/packages/jinja2
###
# Get a list of CVEs for the given source package and version
GET {{proto}}://{{host}}:{{port}}/v1/packages/jinja2/3.1.3-1
###
# ===========================
# Distro API
# ===========================
# Retrieve a list of packages for a given Garden Linux version
GET {{proto}}://{{host}}:{{port}}/v1/distro/1877.10?sortBy=sourcePackageName&sortOrder=ASC&pageNumber=1&pageSize=2
###
# Retrieve a list of packages affected by a specific CVE in a given Garden Linux version
GET {{proto}}://{{host}}:{{port}}/v1/distro/1877.10/CVE-2015-0235
###
# Internal API: Get the distId for a given Garden Linux version (for triage implementation, not for external use)
GET {{proto}}://{{host}}:{{port}}/v1/distro/1877.10/distId
###
# ===========================
# Garden Linux Versions API
# ===========================
# List all Garden Linux versions known and supported by GLVD
GET {{proto}}://{{host}}:{{port}}/v1/gardenlinuxVersions
###
# ===========================
# CVE Details API
# ===========================
# Get all information known in GLVD for this specific CVE, aggregated from all data sources
GET {{proto}}://{{host}}:{{port}}/v1/cveDetails/CVE-2024-56326
###
# ===========================
# Release Notes APIs
# ===========================
# (Deprecated) Old API used for Release Notes page
GET {{proto}}://{{host}}:{{port}}/v1/patchReleaseNotes/1877.10
###
# New API: Used in Release Notes generation, compares the given Garden Linux minor version to the previous minor version to list resolved CVEs
GET {{proto}}://{{host}}:{{port}}/v1/releaseNotes/1877.10
###
# ===========================
# Kernel CVEs API
# ===========================
# Get only the kernel-related CVEs for this Garden Linux version (not intended for end-users)
GET {{proto}}://{{host}}:{{port}}/v1/kernel/gardenlinux/1877.10
###
# ===========================
# Triage API
# ===========================
# Get triage data for the given Garden Linux version
GET {{proto}}://{{host}}:{{port}}/v1/triage/gardenlinux/1877.7
###
# Get triage data for the given CVE
GET {{proto}}://{{host}}:{{port}}/v1/triage/cve/CVE-2024-0565
###
# Get triage data for the given source package
GET {{proto}}://{{host}}:{{port}}/v1/triage/sourcePackage/cloud-init
###
# Get all triage data known to GLVD
GET {{proto}}://{{host}}:{{port}}/v1/triage
###