csutherl commented on code in PR #1001:
URL: https://github.com/apache/tomcat/pull/1001#discussion_r3751785159


##########
SECURITY.md:
##########
@@ -1,14 +1,136 @@
-# Security
+# Security Policy
 
-Apache Tomcat's security model and disclosure process are
-published on the project website rather than in the repository:
+## Before You Report - Required Self-Check
 
-- **Threat model and security policy**:
-  <https://tomcat.apache.org/security-model.html>
-- **How to report a vulnerability**: see the Security section
-  of <https://tomcat.apache.org/>.
+**Complete this checklist. If you answer "No" to any question, do not submit a 
report:**
 
-The project website is the authoritative source; this file
-exists so agents and tooling that look for `SECURITY.md` in
-the repository can mechanically follow the link to the
-canonical documents.
+- [ ] I have read the [Tomcat Security 
Model](https://tomcat.apache.org/security-model.html) and my finding doesn't 
require access to config files, binaries, or admin interfaces
+- [ ] I have written a working Tomcat JUnit test case that compiles, runs, and 
demonstrates the vulnerability, or I have provided a justification as to why a 
JUnit test case cannot be written for this report and I have provided a minimal 
proof of concept
+- [ ] I have tested against a real Tomcat instance - this is not theoretical 
analysis or scanner output
+- [ ] I am submitting in plain text (no PDFs, archives, videos, or formatted 
documents)
+
+**If you cannot check all boxes, your report will be rejected.**

Review Comment:
   I think that's a good idea so I updated that to require inclusion of the 
completed list. We can't really automatically enforce it like that though since 
they reports come via email rather than issues/PRs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to