Project

General

Profile

Actions

Bug #25246

open

Unauthorized access to API should not be logged as error

Added by Elaad FURREEDAN about 2 months ago. Updated 2 days ago.

Status:
Pending release
Priority:
N/A
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

When we don't have sufficient right to some endpoint, we get an error log :

2024-05-13 09:12:34+0200 ERROR api-processing - Authorization error for 'GET secure/api/user/api/token': User 'toto' is not allowed to access GET secure/api/user/api/token

We should not log an error for this, but rather a warning

Actions #1

Updated by Elaad FURREEDAN about 2 months ago

  • Status changed from New to In progress
  • Assignee set to Elaad FURREEDAN
Actions #2

Updated by Elaad FURREEDAN about 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5795
Actions #3

Updated by Anonymous about 2 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Clark ANDRIANASOLO 2 days ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF