Assessments Mapper: Implement document size limit
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
The payload names no files. Start by finding the assessments mapper endpoints that accept document uploads, then trace how the request body or file is read. The 20 MB limit has to be enforced before the whole file is buffered, so check how the existing upload path reads it. Done means an oversized document is rejected with a clear client error and a test covers both the accepted and rejected sizes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem?
Currently, there is no size limit for documents in the assessments mapper. This can lead to potential abuse of the endpoints by malicious actors.
Describe the solution you'd like
- Implement a 20 MB size limit for documents in the assessments mapper.
- Enhance security by preventing abuse of the endpoints.
Original issue
Describe the current behavior
Add 20 MB size limit for documents in the assessments mapper
Describe the enhancement you'd like
This will prevent malicious actors from abusing the endpoints.
- Lingua principale
- Python
- Stelle
- 18
- Fork
- 11
- Merge medio
- 4g 3h
- PR unite (30g)
- 13
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ProjectTech4DevAI/kaapi-backend
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
I maintainer di solito rispondono entro 1 giorno
-
Monitoring: Enhance alerting and securityForse già presa @Ayush8923 l’ha presa 1 giorno fa. Apertainfrastructure
ProjectTech4DevAI/kaapi-backend#1271 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Celery: Investigate memory exitsForse già presa @vprashrex l’ha presa 2 giorni fa. Aperta
ProjectTech4DevAI/kaapi-backend#1268 · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
Cloudflare: Investigate 520 error solutionsForse già presa @Prajna1999 l’ha presa 2 giorni fa. Aperta
ProjectTech4DevAI/kaapi-backend#1267 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
ProjectTech4DevAI/kaapi-backend#1266 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ProjectTech4DevAI/kaapi-backend
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
521xueweihan/HelloGitHub#4025 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
aws-samples/sample-per-model-bedrock#321 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
FavioVazquez/showtime#101 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
koush/ha_scrypted#81 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
google/osv-scanner-action#147 ·