oreoshake / hackerone-client

An unofficial wrapper for the HackerOne API
https://api.hackerone.com/docs/v1
MIT License
55 stars 27 forks source link

CAPEC label fixes #39

Closed rzhade3 closed 6 years ago

rzhade3 commented 6 years ago

Addressing https://github.com/oreoshake/hackerone-client/issues/38, added a new NotAnOwaspWeaknessError for any issues tagged with a weakness with CAPEC-

@anglinb

rzhade3 commented 6 years ago

:wave: @oreoshake @anglinb Made a first pass at addressing the CAPEC- label issue, but was not sure if I wrote the custom Error properly. Also not sure whether moving the validation logic to validate_cwe would constitute control flow through exceptions.

rzhade3 commented 6 years ago

Thanks @oreoshake, I think I addressed your points above, mind taking another look?