pvarki / pvarki/python-rasenmaeher-api

Add better proxy protection

Open
#189 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
1
Avg merge
4d 13h
Merged PRs (30d)
5

Description

User story

As a service developer for the deploy app ecosystem,

I want to not have all my paths exposed via proxy,

to avoid sensitive paths being callable without explicit knowledge

Acceptance Criteria

Outline what you think are requirements for this story to be considered Completed.
Note: a lot of this work will be in https://github.com/pvarki/opendefence-platform.

{"proxy_routes": [
  {"path": "/api/v1/clientinfo",   "methods": ["GET"],  "roles": []},
  {"path": "/api/v1/admin/*",      "methods": ["*"],    "roles": ["admin"]}
]}
  • Check allowed list of proxy routes through manifest. Implicit deny if not listed.

Linked things

Link epics, features and other user stories here, if applicable.
https://pvarki.getoutline.com/doc/rasenmaeher-api-trustidentity-audit-OpE3XR3jBm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proxy integration in the linked opendefence-platform repository and the Traefik configuration referenced by the issue. Determine where per-integration proxy-route manifests and the X-Proxy-Callsign handling belong; done means the header is stripped, unlisted routes are implicitly denied, and the manifest format covers paths, methods, and roles.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.