You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
An endpoint with a similar format https://host/prolexic-analytics/v2/time-series?destinations=ip&locations=agr&source=both works with this library using the above example, so it is unexpected for the SIEM endpoint not to work.
Actual behavior
It outputs this error.
{
'type': 'https://problems.cloudsecurity.akamaiapis.net/siem/v1/missing-parameters',
'title': 'Missing mandatory parameter(s) or illegal parameter parameter(s) in the request',
'instance': 'https://{host}/siem/v1/configs/{configid}?from={from}',
'detail': 'Missing mandatory parameter(s) or illegal parameter parameter(s) in the request',
'method': 'GET'
...
}
Judging from the instance above, it appears that only the first query parameter is being recognized. If the & character is encoded to %26 in the signature generation then the instance variable changes to 'instance': 'https://{host}/siem/v1/configs/{configid}?from={from}&to={to}&limit={limit}', but gives a 401 error for the signature not matching. If the & character is encoded to %26 in the request and signature, then it returns a 400 error for missing parameters.
Hi @estelae,
I wanted to let you know that we're looking into both this and akamai/AkamaiOPEN-edgegrid-python#68, but it requires somewhat more investigation. I'll get back to you as soon as I have something to share.
Describe the issue
Using this library for the SIEM API (https://techdocs.akamai.com/siem-integration/reference/get-configid) returns a 400 error for missing parameters.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An endpoint with a similar format
https://host/prolexic-analytics/v2/time-series?destinations=ip&locations=agr&source=both
works with this library using the above example, so it is unexpected for the SIEM endpoint not to work.Actual behavior
It outputs this error.
Judging from the
instance
above, it appears that only the first query parameter is being recognized. If the&
character is encoded to%26
in the signature generation then theinstance
variable changes to'instance': 'https://{host}/siem/v1/configs/{configid}?from={from}&to={to}&limit={limit}'
, but gives a 401 error for the signature not matching. If the&
character is encoded to%26
in the request and signature, then it returns a 400 error for missing parameters.Please add a working example using this library for this endpoint (https://techdocs.akamai.com/siem-integration/reference/get-configid).
The text was updated successfully, but these errors were encountered: