Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geosec Transformer Can drop CWE ids #495

Open
linear bot opened this issue Dec 9, 2024 · 0 comments
Open

Geosec Transformer Can drop CWE ids #495

linear bot opened this issue Dec 9, 2024 · 0 comments

Comments

@linear
Copy link

linear bot commented Dec 9, 2024

Input data:

{
							"fullDescription": {
								"text": "The software does not validate, or incorrectly validates, a certificate."
							},
							"guid": "09e885ea-951b-3143-801a-241b3aa9e6c9",
							"helpUri": "https://cwe.mitre.org/data/definitions/295.html",
							"id": "295",
							"shortDescription": {
								"text": "Improper Certificate Validation"
							}
						},

Output data:

"cwe": {
          "caption": "The software does not validate, or incorrectly validates, a certificate.",
          "srcUrl": "https://cwe.mitre.org/data/definitions/295.html",
         },

Whereas it should look like (also generated by the code)

{
							"fullDescription": {
								"text": "The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data."
							},
							"guid": "93d834a1-2cc5-38db-837f-66dfc7d711cc",
							"helpUri": "https://cwe.mitre.org/data/definitions/798.html",
							"id": "798",
							"shortDescription": {
								"text": "Use of Hard-coded Credentials"
							}
						},
"cwe": {
          "caption": "The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data.",
          "srcUrl": "https://cwe.mitre.org/data/definitions/798.html",
          "uid": "798"
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants