Skip to content

Add presigned head url to scan object#690

Merged
J12934 merged 3 commits intosecureCodeBox:mainfrom
EndPositive:minio-head-url
Oct 6, 2021
Merged

Add presigned head url to scan object#690
J12934 merged 3 commits intosecureCodeBox:mainfrom
EndPositive:minio-head-url

Conversation

@EndPositive
Copy link
Contributor

@EndPositive EndPositive commented Sep 30, 2021

Description

This PR, if applied, adds findingHeadLink and rawResultHeadLink to the scan's status. These links are useful in optimization of external services (or hooks) querying the file. It is especially useful when you would like to use something like a streaming response while retaining original headers (obtained through head link).

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.
  • Make codeclimate checks happy

Copy link
Member

@J12934 J12934 left a comment

Choose a reason for hiding this comment

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

Okay interesting never had to stream files from S3 (yet). 😀
Nice to have the option now 👍

Just a small copy paste error in the description to make the descriptions match properly.

Co-authored-by: Jannik Hollenbach <[email protected]>
Signed-off-by: Jop Zitman <[email protected]>
@EndPositive
Copy link
Contributor Author

One day you will and you'll think of me! Thanks for suggestion 😄 .

@J12934
Copy link
Member

J12934 commented Oct 5, 2021

CRD's need to be regenerated, they still have the typos in them 😉

Signed-off-by: Jop Zitman <[email protected]>
@nigthknight nigthknight added the CRD Improvements or additions to CRDs label Oct 6, 2021
@J12934 J12934 enabled auto-merge October 6, 2021 12:44
@J12934 J12934 merged commit e8d5eb2 into secureCodeBox:main Oct 6, 2021
@EndPositive EndPositive deleted the minio-head-url branch October 13, 2021 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CRD Improvements or additions to CRDs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants