dsmiley commented on code in PR #4522: URL: https://github.com/apache/solr/pull/4522#discussion_r3547364963
########## THREAT_MODEL.md: ########## @@ -0,0 +1,295 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +# Apache Solr — Threat Model + +## §1 Header + +- **Project:** Apache Solr (`apache/solr`) — a Lucene-based search server. + Companion repos in this round: `solr-operator` (Kubernetes operator), + `solr-sandbox` (incubating/experimental), `solr-mcp` (MCP server) — modelled + at their own trust level or placed out of scope (§2/§3). +- **Written against:** `main` @ HEAD (2026-06). +- **Author:** ASF Security team, via the threat-model-producer rubric (Scovetta + rubric) at the Solr PMC's request (path 3). +- **Status:** DRAFT — under maintainer review (2026-06-10). Not yet ratified. +- **Version binding:** versioned with the project. +- **Reporting cross-reference:** §8-violating findings via the ASF security + process ([`SECURITY.md`](SECURITY.md)) — reach the Solr PMC security group at + [email protected] (see <https://solr.apache.org/security-reporting.html>); + §3/§9 findings closed citing this doc. +- **Provenance legend:** *(documented)* / *(maintainer)* / *(inferred)* — each + *(inferred)* has a §14 open question. +- **Draft confidence:** ~22 documented / 0 maintainer / 24 inferred. + +**What it is.** Solr is a standalone **search server** (HTTP/HTTP2 API) that +indexes documents and serves queries, deployable as a single node or a +**SolrCloud** cluster coordinated by ZooKeeper. It exposes query, update +(indexing), and **admin/config** APIs; supports pluggable **authentication** +and **authorization**; and can load custom code (the package manager, config +API, contrib modules). The defining operational fact is Solr's long-standing Review Comment: "contrib" is an old word... don't know how this got in here ########## THREAT_MODEL.md: ########## @@ -0,0 +1,295 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +# Apache Solr — Threat Model + +## §1 Header + +- **Project:** Apache Solr (`apache/solr`) — a Lucene-based search server. + Companion repos in this round: `solr-operator` (Kubernetes operator), + `solr-sandbox` (incubating/experimental), `solr-mcp` (MCP server) — modelled + at their own trust level or placed out of scope (§2/§3). +- **Written against:** `main` @ HEAD (2026-06). +- **Author:** ASF Security team, via the threat-model-producer rubric (Scovetta + rubric) at the Solr PMC's request (path 3). +- **Status:** DRAFT — under maintainer review (2026-06-10). Not yet ratified. +- **Version binding:** versioned with the project. +- **Reporting cross-reference:** §8-violating findings via the ASF security + process ([`SECURITY.md`](SECURITY.md)) — reach the Solr PMC security group at + [email protected] (see <https://solr.apache.org/security-reporting.html>); + §3/§9 findings closed citing this doc. +- **Provenance legend:** *(documented)* / *(maintainer)* / *(inferred)* — each + *(inferred)* has a §14 open question. +- **Draft confidence:** ~22 documented / 0 maintainer / 24 inferred. + +**What it is.** Solr is a standalone **search server** (HTTP/HTTP2 API) that Review Comment: weird to use the word "standalone" here and then conditionally contradict ourselves later in the same sentence. -- 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]
