From e9b93c6033b65282aaef394198f8f39f346b61e8 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 2 Mar 2025 20:41:52 -0600 Subject: [PATCH] report templates --- report_templates/basic.tmpl | 760 ++++++++++++++++++++++++++++++++++++ report_templates/w98.tmpl | 723 ++++++++++++++++++++++++++++++++++ report_templates/wxp.tmpl | 760 ++++++++++++++++++++++++++++++++++++ 3 files changed, 2243 insertions(+) create mode 100644 report_templates/basic.tmpl create mode 100644 report_templates/w98.tmpl create mode 100644 report_templates/wxp.tmpl diff --git a/report_templates/basic.tmpl b/report_templates/basic.tmpl new file mode 100644 index 00000000..78869e16 --- /dev/null +++ b/report_templates/basic.tmpl @@ -0,0 +1,760 @@ + + + + + + Gitleaks Security Findings Report + + + +
+
+ +
+ +
+
+ +
+
+

Security Scan Report

+

Generated on {{now | date "Jan 02, 2006 15:04:05 MST"}}

+ +
+
+ {{len .}} + Total Findings +
+ +
+ - + Files Affected +
+ +
+ - + Unique Rules Triggered +
+ +
+ - + Scan Mode +
+
+
+ +
+
+ + +
+ +
+ + +
+ +
+ +
+
+ +
+ + + + + + + + + + + + {{- range . }} + + + + + + + + {{- end }} + +
RuleFileDescriptionSecretMetadata
{{.RuleID}} +
+ {{.File}} +
+
+ {{- range .Tags }} + {{.}} + {{- end}} +
+
+
+ Line: + {{.StartLine}} +
+
+
+ {{.Description}} + ↕ + +
+
{{.Secret}}
+ + +
+
+
+
+ Entropy: + {{printf "%.2f" .Entropy}} +
+ {{- if .Commit}} +
+ Commit: + {{if gt (len .Commit) 7}}{{printf "%.7s" .Commit}}{{else}}{{.Commit}}{{end}} +
+ {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- if .Date}} +
+ Date: + {{.Date}} +
+ {{- end}} + {{- if .Link}} +
+ Link: + View Commit +
+ {{- end}} + {{- else}} + {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- end}} +
+ + {{- if not .Match}} +
-
+ {{- end}} +
+
+
+ +
+
Generated by Gitleaks
+
Total Findings: {{len .}}
+
+
+ + + + \ No newline at end of file diff --git a/report_templates/w98.tmpl b/report_templates/w98.tmpl new file mode 100644 index 00000000..5a8717d5 --- /dev/null +++ b/report_templates/w98.tmpl @@ -0,0 +1,723 @@ + + + + + + Gitleaks Security Findings Report + + + +
+
+ +
+ +
+
+

Security Scan Report

+

Generated on {{now | date "Jan 02, 2006 15:04:05 MST"}}

+ +
+
+ {{len .}} + Total Findings +
+ +
+ - + Files Affected +
+ +
+ - + Unique Rules Triggered +
+ +
+ - + Scan Mode +
+
+
+ +
+
+ + +
+ +
+ + +
+ +
+ +
+
+ +
+ + + + + + + + + + + + {{- range . }} + + + + + + + + {{- end }} + +
RuleFileDescriptionSecretMetadata
{{.RuleID}} +
+ {{.File}} +
+
+ {{- range .Tags }} + {{.}} + {{- end}} +
+
+
+ Line: + {{.StartLine}} +
+
+
+ {{.Description}} + ↕ + +
+
{{.Secret}}
+ + +
+
+
+
+ Entropy: + {{printf "%.2f" .Entropy}} +
+ {{- if .Commit}} +
+ Commit: + {{if gt (len .Commit) 7}}{{printf "%.7s" .Commit}}{{else}}{{.Commit}}{{end}} +
+ {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- if .Date}} +
+ Date: + {{.Date}} +
+ {{- end}} + {{- if .Link}} +
+ Link: + View Commit +
+ {{- end}} + {{- else}} + {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- end}} +
+ + {{- if not .Match}} +
-
+ {{- end}} +
+
+
+ +
+
Generated by Gitleaks
+
Total Findings: {{len .}}
+
+
+ + + + \ No newline at end of file diff --git a/report_templates/wxp.tmpl b/report_templates/wxp.tmpl new file mode 100644 index 00000000..cf5e9326 --- /dev/null +++ b/report_templates/wxp.tmpl @@ -0,0 +1,760 @@ + + + + + + Gitleaks Security Findings Report + + + +
+
+ +
+ +
+
+

Security Scan Report

+

Generated on {{now | date "Jan 02, 2006 15:04:05 MST"}}

+ +
+
+ {{len .}} + Total Findings +
+ +
+ - + Files Affected +
+ +
+ - + Unique Rules Triggered +
+ +
+ - + Scan Mode +
+
+
+ +
+
+ + +
+ +
+ + +
+ +
+ +
+
+ +
+ + + + + + + + + + + + {{- range . }} + + + + + + + + {{- end }} + +
RuleFileDescriptionSecretMetadata
{{.RuleID}} +
+ {{.File}} +
+
+ {{- range .Tags }} + {{.}} + {{- end}} +
+
+
+ Line: + {{.StartLine}} +
+
+
+ {{.Description}} + ↕ + +
+
{{.Secret}}
+ + +
+
+
+
+ Entropy: + {{printf "%.2f" .Entropy}} +
+ {{- if .Commit}} +
+ Commit: + {{if gt (len .Commit) 7}}{{printf "%.7s" .Commit}}{{else}}{{.Commit}}{{end}} +
+ {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- if .Date}} +
+ Date: + {{.Date}} +
+ {{- end}} + {{- if .Link}} +
+ Link: + View Commit +
+ {{- end}} + {{- else}} + {{- if .Author}} +
+ Author: + {{.Author}} +
+ {{- end}} + {{- end}} +
+ + {{- if not .Match}} +
-
+ {{- end}} +
+
+
+ +
+
Generated by Gitleaks
+
Total Findings: {{len .}}
+
+
+ + + + \ No newline at end of file