Skip to content

Commit c154fa7

Browse files
authored
Correcting RVA webhook payload
1 parent a768c25 commit c154fa7

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

lib/webhooks/static/dotcom/repository_vulnerability_alert.create.payload.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"id": 91095730,
55
"affected_range": ">= 2.0.4, < 2.0.6",
66
"affected_package_name": "rack",
7+
"fixed_in": "2.0.6",
78
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470",
89
"external_identifier": "CVE-2018-16470",
9-
"fixed_in": "2.0.6"
10+
"ghsa_id": "GHSA-hg78-4f6x-99wq",
11+
"created_at": "2021-03-01T01:23:45Z"
1012
},
1113
"repository": {
1214
"id": 186853002,

lib/webhooks/static/dotcom/repository_vulnerability_alert.dismiss.payload.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"id": 7649605,
55
"affected_range": "0.2.0",
66
"affected_package_name": "many_versioned_gem",
7+
"fixed_in": "0.2.5",
78
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728",
89
"external_identifier": "CVE-2018-3728",
9-
"fixed_in": "0.2.5",
10+
"ghsa_id": "GHSA-jp4x-w63m-7wgm",
11+
"created_at": "2017-10-24T00:00:00Z",
1012
"dismisser": {
1113
"login":"octocat",
1214
"id":1,
@@ -28,6 +30,6 @@
2830
"site_admin":true
2931
},
3032
"dismiss_reason": "No bandwidth to fix this",
31-
"dismissed_at": "2017-10-25T00:00:00+00:00"
33+
"dismissed_at": "2017-10-25T00:00:00Z"
3234
}
3335
}

0 commit comments

Comments
 (0)