okumin commented on code in PR #6535: URL: https://github.com/apache/hive/pull/6535#discussion_r3529208570
########## AGENTS.md: ########## @@ -0,0 +1,52 @@ +<!-- + 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. +--> + +# AGENTS.md + +## Security + +You are helping a security researcher find and report vulnerabilities in +Apache Hive. Before drafting any report or reaching any conclusion, complete +these steps. + +### Step 1 — Read the threat model +Read **[THREAT_MODEL.md](THREAT_MODEL.md)**: the trust boundaries (the +HiveServer2 SQL front door, the Metastore, the query/UDF execution layer), the +adversaries in and out of scope, and what Hive upholds versus what it leaves to +the operator. + +### Step 2 — Read the security policy +Read **[SECURITY.md](SECURITY.md)** for how to report. + +### Key scoping facts (see THREAT_MODEL.md) +- The **HiveServer2** SQL front door is the primary untrusted boundary; the + Metastore and execution cluster are assumed to run inside an + operator-controlled perimeter. Review Comment: Should we update as follows in the end? The **HiveServer2** SQL front door and directly exposed Hive Metastore endpoints are the primary untrusted boundaries; execution clusters and internal service dependencies are assumed to run inside an operator-controlled perimeter. -- 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]
