fullstop list-violations --accounts 1234567890 -o tsv --severity LOW_IMPACT doesn't crash and shows only all the violations whose severity is LOW_IMPACT.
File "[...]lib/python3.5/site-packages/fullstop/cli.py", line 226, in list_violations
r.raise_for_status()
File [...]lib/python3.5/site-packages/requests/models.py", line 844, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://fullstop.stups.zalan.do/api/violations?from=2016-05-19T14%3A46%3A16.735707Z&size=20&severity=LOW_IMPACT&accounts=344293425312&sort=id%2CDESC
Expected behavior
fullstop list-violations --accounts 1234567890 -o tsv --severity LOW_IMPACT
doesn't crash and shows only all the violations whose severity is LOW_IMPACT.Steps needed to reproduce the bug
fullstop list-violations --accounts 1234567890 -o tsv
works, butfullstop list-violations --accounts 1234567890 -o tsv --severity LOW_IMPACT
throws:I didn't know what are the valid values for
--severity
, so I took them from https://github.com/zalando-stups/fullstop/blob/master/fullstop-api.yaml#L215. All of them fail the same for me.Dependencies
None, AFAIK.
Notes