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

feat: add bearer reader #59

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Conversation

cfabianski
Copy link
Contributor

Add Bearer Reader

https://github.com/bearer/bearer

Requires this one to be released Bearer/bearer#1401

}

private TestCaseResult parseBearerFindings(JSONObject result) {
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this code comment really necessary? You also provided a test file to look at.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @darkspirit510
Yeah I removed it. Test case is more than enough :)

* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* @author Sascha Knoop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I did not write this one 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @darkspirit510
It's fixed now :)

@davewichers
Copy link
Contributor

@darkspirit510 - You OK with this MR now so I can merge it?

@darkspirit510
Copy link
Contributor

@davewichers the code looks good, but as you wrote in OWASP-Benchmark/BenchmarkJava#214, I did not yet manage to create/test with a real file.

@darkspirit510
Copy link
Contributor

@davewichers I just build the code from Bearer's repo and was able to scan the file.

@davewichers davewichers merged commit ddb35eb into OWASP-Benchmark:main Nov 21, 2023
1 check passed
@cfabianski
Copy link
Contributor Author

@davewichers I just build the code from Bearer's repo and was able to scan the file.

Hey @darkspirit510 thanks for this and sorry for the lack of response :(
Yeah the release went probably after you tried https://github.com/Bearer/bearer/releases/tag/v1.31.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants