Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trenger bedre inputvalidering på init and upload #666

Open
mSunberg opened this issue Feb 3, 2025 · 2 comments
Open

Trenger bedre inputvalidering på init and upload #666

mSunberg opened this issue Feb 3, 2025 · 2 comments
Assignees
Labels
kind/chore changes that do not relate to a fix or feature and don't modify src or test files status/draft Status: When you create an issue before you have enough info to properly describe the issue.

Comments

@mSunberg
Copy link
Collaborator

mSunberg commented Feb 3, 2025

Description

Etter å ha hjulpet en kunde med å feilsøke endepunktet viser det seg at man kan sende inn ikke-eksisterende felter og fortsatt få en status 200: OK.

Her må vi legge på validering som hindrer dette i fremtiden.

Disse verdiene ble brukt i dette tilfellet:
Correspondence.notification.recipients[0].recipientToOverride=[0192:310676810],
Correspondence.notification.recipients[0].notificationRecipient[0].emailAddress=...,
Correspondence.notification.recipients[0].notificationRecipient[0].mobileNumber=...,
Correspondence.notification.recipients[0].notificationRecipient[0].organizationNumber=...,
Correspondence.notification.recipients[0].notificationRecipient[0].nationalIdentityNumber=...,

Additional Information

No response

Tasks

No response

Acceptance Criterias

No response

@mSunberg mSunberg added kind/chore changes that do not relate to a fix or feature and don't modify src or test files status/draft Status: When you create an issue before you have enough info to properly describe the issue. labels Feb 3, 2025
@mSunberg mSunberg moved this to Ready for dev in Altinn melding og formidling Feb 3, 2025
@mSunberg mSunberg self-assigned this Feb 3, 2025
@mSunberg
Copy link
Collaborator Author

mSunberg commented Feb 4, 2025

Følger opp med Roar.

@mSunberg
Copy link
Collaborator Author

mSunberg commented Feb 4, 2025

Starter med å bedre dokumentasjon og ser ann hvor stort behovet blir for denne. Så langt har vi bare et tilfelle rapportert fra kunde hvor mangel på validering var et problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore changes that do not relate to a fix or feature and don't modify src or test files status/draft Status: When you create an issue before you have enough info to properly describe the issue.
Projects
Status: Ready for dev
Development

No branches or pull requests

1 participant