Enhancement: file/keys/code-climate-token.yaml by md

patch-1
MostInterestingBotInTheWorld 2023-05-04 13:26:13 -04:00
parent d126d7dc43
commit 0f46fafb59
1 changed files with 9 additions and 2 deletions

View File

@ -1,12 +1,17 @@
id: code-climate-token id: code-climate-token
info: info:
name: Code Climate Token name: Code Climate Token - Detect
author: DhiyaneshDK author: DhiyaneshDK
severity: info severity: info
description: Code Climate token was detected.
reference: reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/codeclimate.yml - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/codeclimate.yml
- https://github.com/codeclimate/ruby-test-reporter/issues/34 - https://github.com/codeclimate/ruby-test-reporter/issues/34
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0.0
cwe-id: CWE-200
metadata: metadata:
verified: "true" verified: "true"
tags: codeclimate,token,file tags: codeclimate,token,file
@ -19,4 +24,6 @@ file:
- type: regex - type: regex
part: body part: body
regex: regex:
- '(?i)codeclima.{0,50}\b([a-f0-9]{64})\b' - '(?i)codeclima.{0,50}\b([a-f0-9]{64})\b'
# Enhanced by md on 2023/05/04