Skip to content

Commit 0eb3a7f

Browse files
potiuksmiklosovic
authored andcommitted
Add security-model discoverability (AGENTS.md -> SECURITY.md -> security model)
Wires the conventional AGENTS.md -> SECURITY.md -> security model chain so automated tooling can mechanically discover the project's security model. No model content is changed. patch by Jarek Potiuk; reviewed by Francisco Guerrero, Stefan Miklosovic for CASSANDRA-21464 Assisted-by: Claude Opus 4.8 (1M context)
1 parent 01d7545 commit 0eb3a7f

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Agent guidance
2+
3+
This file is read by automated agents (security scanners, code analyzers,
4+
AI assistants) operating on this repository. It points them at the
5+
human-authored references they should consult before producing output.
6+
7+
## Security
8+
9+
Security model: [SECURITY.md](./SECURITY.md), which links to the Apache
10+
Cassandra project security model.
11+
12+
This repository is part of the Apache Cassandra project. Its security model -
13+
trust boundaries, in-scope / out-of-scope declarations, the security
14+
properties the project provides and disclaims, and how findings are triaged -
15+
is the umbrella Cassandra security model linked from SECURITY.md. Consult it
16+
before reporting security issues.

SECURITY.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
Please report suspected security vulnerabilities privately to the Apache
6+
Security Team at <security@apache.org>, following the ASF process at
7+
<https://www.apache.org/security/>. Do not open public GitHub issues or pull
8+
requests for security reports.
9+
10+
## Security Model
11+
12+
This repository is part of the Apache Cassandra project. The project's
13+
security model - what is in and out of scope, the trust boundaries it
14+
assumes, the security properties it provides and disclaims, and how findings
15+
are triaged - is documented in the main apache/cassandra repository:
16+
17+
https://github.com/apache/cassandra/blob/trunk/doc/modules/cassandra/pages/reference/security-model.adoc

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ rat {
179179

180180
// XML, TXT and HTML reports directory, defaults to 'build/reports/rat'
181181
reportDir.set(file("build/reports/rat"))
182+
183+
excludes.add("AGENTS.md")
184+
excludes.add("SECURITY.md")
182185
}
183186

184187
tasks.named('rat').configure {

0 commit comments

Comments
 (0)