Missing access logs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- api, backend, observability
Research direction
Start by locating the request-handling entry points and the existing error logging that produces the example message. Trace how request details and response status are available, then define the JSON access-log fields listed in the issue and verify that each request records them. The issue does not name files or tests, so repository exploration is required.
Written by the indexing model from the issue text.
Description
Please add access logs. Format tbd.
Problem now is that misbehaving users are hard to pin down. For example, the log is flooding with errors like:
oidc.web.ErrorController:85 - Error has occurred: oidc.exceptions.UnknownCodeException: Invalid code: cDfzmtLJaxV5Ay22ufan4z6ifNSQGwVT invalid_code
but we cannot see who is sending the request
So, for each request, please add a line with the following info:
- date
- originating ip (from the lb)
- ip from X-Forwarded-For header
- http method
- requested path including GET parameters
- returned http status code
- oidc-endpoint that was called
- clientid of RP/RS
Format should be json
- Dominant language
- Java
- Stars
- 4
- Forks
- 6
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/OpenConext-oidcng
-
Update CHANGELOG.mdOpen
Difficulty 1/5 Under an hour Newbie friendliness 84/100
OpenConext/OpenConext-oidcng#373 ·
-
OpenID Provider (OP) proxyPossibly taken @oharsta claimed this 24 days ago. Open
OpenConext/OpenConext-oidcng#370 · 1 assignee ·
-
Dynamic Client RegistrationPossibly taken @oharsta claimed this 24 days ago. Open
OpenConext/OpenConext-oidcng#369 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
OpenConext/OpenConext-oidcng#367 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
OpenConext/OpenConext-oidcng#366 ·
All issues in OpenConext/OpenConext-oidcng
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nix-community/autofirma-nix#1259 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Dashboard: TriggerDetailsEditor throws NullReferenceException during asynchronous initializationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
quartz-scheduler/quartz#1556 ·
Maintainers usually reply within 13 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Blazemeter/jmeter-http-plugin#186 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
PranshulGG/WeatherMaster#1266 · 3 comments ·
Maintainers usually reply within 1 day