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

Standalone http server support #31

Merged
merged 28 commits into from
Oct 7, 2022
Merged

Conversation

mukuldeepfence
Copy link
Contributor

This PR adds the option to start the YaraHunter as a HTTP server in standalone mode, i.e. doesn't need console to perform the scans.

Adds new flag **`-standalone-http-port`**
Returns secret scan result in API(/malware-scan) response

Note - here using docker extension we will be scanning only one image in one request

Why is this PR needed?
Enabling the support to run YaraHunter as standalone service also allows this to be integrated with several other platforms like Docker extension

ref issue - #30

Copy link
Contributor

@deviprasad303 deviprasad303 left a comment

Choose a reason for hiding this comment

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

mukul stash these changes all these are already done in a seperate branch yarahuntergrpcserver i will merge them to this branch

@mukuldeepfence
Copy link
Contributor Author

Hi @deviprasad303 , these changes are different, i have used yarahuntergrpcserver as a base branch

@ibreakthecloud
Copy link
Member

way too much commits, please rebase with main before merging

@github-pages github-pages bot temporarily deployed to github-pages October 4, 2022 03:59 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 4, 2022 18:44 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 4, 2022 18:51 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 5, 2022 00:14 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 6, 2022 00:14 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 6, 2022 00:57 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 6, 2022 02:32 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 6, 2022 02:38 Inactive
Dockerfile Outdated Show resolved Hide resolved
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 00:17 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 03:23 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 03:26 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 04:02 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 04:03 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 04:29 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 09:17 Inactive
@github-pages github-pages bot temporarily deployed to github-pages October 7, 2022 09:22 Inactive
@deviprasad303 deviprasad303 merged commit 72e185f into main Oct 7, 2022
@deviprasad303 deviprasad303 deleted the standalone-http-server-support branch October 7, 2022 09:24
@deviprasad303 deviprasad303 restored the standalone-http-server-support branch October 7, 2022 09:27
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.

4 participants