Skip to content

Commit e8a7e0c

Browse files
committed
[CALCITE-7674] Add Avatica threat model
1 parent 72fb992 commit e8a7e0c

4 files changed

Lines changed: 461 additions & 0 deletions

File tree

.ratignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
**/.gitignore
33
.ratignore
44
.idea/vcs.xml
5+
AGENTS.md
6+
SECURITY.md
57
# Third-party license files
68
src/main/config/licenses/
79
#

AGENTS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 project's
10+
threat model at
11+
[site/_docs/security_threat_model.md](./site/_docs/security_threat_model.md).
12+
13+
Avatica is a JDBC/ODBC wire-protocol layer: a server that fronts a
14+
local JDBC `DataSource` (typically Apache Calcite, but any JDBC driver
15+
is supported), and a client-side JDBC driver that speaks the Avatica
16+
wire protocol over HTTP or HTTPS. Read the threat model before
17+
reporting anything, it is explicit about what it does and does not treat
18+
as a vulnerability.

SECURITY.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
`apache/calcite-avatica` follows the [Apache Software Foundation security process](https://www.apache.org/security/).
6+
Please report suspected vulnerabilities privately to `security@apache.org`; do not open public
7+
GitHub issues or pull requests for security reports.
8+
9+
## Threat Model
10+
11+
What the project treats as in scope and out of scope, the security
12+
properties it provides and disclaims, the adversary model, and how
13+
findings are triaged are documented in [THREAT_MODEL.md](site/_docs/security_threat_model.md).

0 commit comments

Comments
 (0)