-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rapid7 Vulndb - 16970 - Initial updates for fedramp compliance | Upda…
…ted SDK to the latest version (#2734)
- Loading branch information
1 parent
e4af68a
commit f5faf31
Showing
29 changed files
with
636 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 54 additions & 54 deletions
108
plugins/rapid7_vulndb/unit_test/payloads/get_content.json.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
{ | ||
"id": 123456789, | ||
"type": "Nexpose", | ||
"identifier": "test_identifier_1", | ||
"title": "test_title_1", | ||
"description": "\n <p>test_description_1</p>\n ", | ||
"data": { | ||
"solutions": [ | ||
"test_solution_1" | ||
], | ||
"alternate_ids": [ | ||
{ | ||
"namespace": "CVE", | ||
"name": "2021-12345", | ||
"unified_name": "CVE/2021-12345" | ||
}, | ||
{ | ||
"namespace": "DEBIAN", | ||
"name": "DSA-1234", | ||
"unified_name": "DEBIAN/DSA-1234" | ||
}, | ||
{ | ||
"namespace": "URL", | ||
"name": "https://example.com.html", | ||
"unified_name": "URL/https://example.com.html" | ||
} | ||
], | ||
"severity": "4", | ||
"csvss": "(AV:N/AC:M/Au:N/C:P/I:N/A:N)", | ||
"date_published": "2021-01-01T00:00:00+00:00", | ||
"date_added": "2021-01-01T00:00:00+00:00", | ||
"date_modified": "2022-01-01T00:00:00+00:00" | ||
}, | ||
"references": [ | ||
"test_reference_1" | ||
"id": 123456789, | ||
"type": "Nexpose", | ||
"identifier": "test_identifier_1", | ||
"title": "test_title_1", | ||
"description": "\n <p>test_description_1</p>\n ", | ||
"data": { | ||
"solutions": [ | ||
"test_solution_1" | ||
], | ||
"alternate_ids": [ | ||
{ | ||
"namespace": "CVE", | ||
"name": "2021-12345", | ||
"unified_name": "CVE/2021-12345" | ||
}, | ||
{ | ||
"namespace": "DEBIAN", | ||
"name": "DSA-1234", | ||
"unified_name": "DEBIAN/DSA-1234" | ||
}, | ||
{ | ||
"namespace": "URL", | ||
"name": "https://example.com.html", | ||
"unified_name": "URL/https://example.com.html" | ||
} | ||
], | ||
"created_at": "2021-01-01T00:00:00.000Z", | ||
"updated_at": "2021-01-01T00:00:00.000Z", | ||
"published_at": "2021-01-01T00:00:00.000Z", | ||
"content_type": "vulnerability", | ||
"content_url": "https://example.com", | ||
"hits": 0, | ||
"alternate_id_urls": [ | ||
{ | ||
"text": "CVE-2021-12345", | ||
"url": "http://example.com/cve/cve-2021-12345" | ||
}, | ||
{ | ||
"text": "DEBIAN-DSA-1234", | ||
"url": "#" | ||
}, | ||
{ | ||
"text": "URL-https://example.com.html", | ||
"url": "https://example.com.html" | ||
} | ||
] | ||
"severity": "4", | ||
"csvss": "(AV:N/AC:M/Au:N/C:P/I:N/A:N)", | ||
"date_published": "2021-01-01T00:00:00+00:00", | ||
"date_added": "2021-01-01T00:00:00+00:00", | ||
"date_modified": "2022-01-01T00:00:00+00:00" | ||
}, | ||
"references": [ | ||
"test_reference_1" | ||
], | ||
"created_at": "2021-01-01T00:00:00.000Z", | ||
"updated_at": "2021-01-01T00:00:00.000Z", | ||
"published_at": "2021-01-01T00:00:00.000Z", | ||
"content_type": "vulnerability", | ||
"content_url": "https://example.com", | ||
"hits": 0, | ||
"alternate_id_urls": [ | ||
{ | ||
"text": "CVE-2021-12345", | ||
"url": "http://example.com/cve/cve-2021-12345" | ||
}, | ||
{ | ||
"text": "DEBIAN-DSA-1234", | ||
"url": "#" | ||
}, | ||
{ | ||
"text": "URL-https://example.com.html", | ||
"url": "https://example.com.html" | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
plugins/rapid7_vulndb/unit_test/payloads/get_content_bad.json.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"error": "The requested content item could not be found" | ||
"error": "The requested content item could not be found" | ||
} |
Oops, something went wrong.