Commit 9ab0069
RANGER-5645: Add audit-ingestor service-user allowlist for Docker plugins (#1017)
* RANGER-5645: Add audit-ingestor service-user allowlist for Docker plugins
Ship per-repo allowed.users and auth_to_local rules so plugins using the
audit-server destination are authorized after Kerberos SPNEGO (fixes HTTP 403).
Align create-ranger-services.py with policy.download.auth.users for Ozone,
Atlas, Kudu, and NiFi. Add troubleshooting README for ingestor 403 errors.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Fix auth_to_local description; drop README files from PR
Consolidate auth_to_local property description (JWT note + plugin rules).
Revert audit-server/scripts/README.md and remove troubleshooting README.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: List auth_to_local rules in Default rules provided format
Match original site XML description style with one bullet per RULE line.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Limit scope to Docker services listed in Jira
Remove dev_atlas, dev_kudu, and dev_nifi from ingestor allowlist,
auth_to_local rules, and create-ranger-services.py (not in Docker stack).
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Add dev_elasticsearch for Docker OpenSearch stack
Create Policy Manager repo for the elasticsearch service type pointing at
ranger-opensearch.rangernw:9200 with opensearch download auth users, and
add matching ingestor allowlist plus auth_to_local rule.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Add dev_tag service and fix auth_to_local description
Create dev_tag in create-ranger-services.py (matches Policy Manager).
Add dev_tag ingestor allowlist (rangertagsync) and auth_to_local rule.
Use CDATA so description shows <repo> instead of XML entities.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Add atlas/kudu/nifi; remove OpenSearch elasticsearch entries
Match Policy Manager repos (dev_atlas, dev_kudu, dev_nifi). Drop
dev_elasticsearch allowlist, auth_to_local rules, and create-service entry.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Address PR review feedback on allowlist and Docker services
Remove redundant auth_to_local plugin rules covered by DEFAULT, restrict Ozone to om-only, and drop tag/atlas/kudu/nifi from create-ranger-services.py per Docker stack scope.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Fix date-bound tag policy engine tests after 2026-06-15
RESTRICTED-FINAL deny-exception uses isAccessedBefore(activation_date);
fixture dates were 2026/06/15 so TestPolicyEngine_hiveForTag_filebased
failed on/after that day (unrelated to ingestor allowlist changes).
Use 2099/12/31 in tag test fixtures so CI stays stable.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Run TestPolicyEngine sub-tests sequentially for CI stability
parallelStream() on a shared RangerPolicyEngine caused intermittent
failures (e.g. hdfs_resourcespec {USER} path policy) under CI load.
Co-authored-by: Cursor <cursoragent@cursor.com>
* RANGER-5645: Address review feedback on allowlist scope and test changes
- Remove dev_tag, dev_atlas, dev_kudu, dev_nifi allowlist entries (not
applicable to Docker audit-ingestor scope per review)
- Revert agents-common test fixture and TestPolicyEngine changes; tag
date updates belong in separate RANGER-5647 PR
- Restore parallelStream() in TestPolicyEngine per review
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: ramk <ramk@cloudera.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 5be05d8 commit 9ab0069
2 files changed
Lines changed: 55 additions & 11 deletions
File tree
- audit-server/audit-ingestor/src/main/resources/conf
- dev-support/ranger-docker/scripts/admin
Lines changed: 52 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
189 | 195 | | |
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
193 | 199 | | |
194 | | - | |
| 200 | + | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
200 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
201 | 243 | | |
202 | 244 | | |
203 | 245 | | |
| |||
210 | 252 | | |
211 | 253 | | |
212 | 254 | | |
213 | | - | |
| 255 | + | |
214 | 256 | | |
215 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
216 | 260 | | |
217 | 261 | | |
218 | 262 | | |
219 | 263 | | |
220 | 264 | | |
221 | | - | |
222 | | - | |
| 265 | + | |
| 266 | + | |
223 | 267 | | |
224 | 268 | | |
225 | 269 | | |
226 | | - | |
| 270 | + | |
227 | 271 | | |
228 | 272 | | |
229 | 273 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments