Skip to content

fix: security issues - #464

Merged
beeme1mr merged 4 commits into
open-feature:mainfrom
odubajDT:fix/321/security
Mar 6, 2023
Merged

beeme1mr merged 4 commits into
open-feature:mainfrom
odubajDT:fix/321/security

Conversation

@odubajDT

@odubajDT odubajDT commented Mar 3, 2023

Copy link
Copy Markdown
Contributor

This PR

  • fixes security findings

Related Issues

Fixes #321

@codecov

codecov Bot commented Mar 3, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #464 (a4ea3b5) into main (10d5f2c) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head a4ea3b5 differs from pull request most recent head bb3ad84. Consider uploading reports for the commit bb3ad84 to get more accurate results

@@            Coverage Diff             @@
##             main     #464      +/-   ##
==========================================
- Coverage   62.26%   62.24%   -0.03%     
==========================================
  Files          13       13              
  Lines        1659     1658       -1     
==========================================
- Hits         1033     1032       -1     
  Misses        563      563              
  Partials       63       63              
Impacted Files Coverage Δ
pkg/sync/http/http_sync.go 46.00% <100.00%> (-0.54%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment thread pkg/sync/kubernetes/kubernetes_sync.go Resolved

@Kavindu-Dodan Kavindu-Dodan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apporoving and waiting for conversation to be resloved

odubajDT added 3 commits March 6, 2023 07:50
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Comment thread pkg/sync/http/http_sync.go Resolved
@toddbaert
toddbaert self-requested a review March 6, 2023 13:46

@toddbaert toddbaert left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

TBH this is definitely a false positive security issue. The hash isn't being used here for anything security related, just to reduce un-needed cycles if the HTTP contents haven't changed.

That said, if switching to sha256 save us some false positive warnings in tools I think it's a good change.

Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: odubajDT <[email protected]>
@beeme1mr
beeme1mr merged commit 7f1e759 into open-feature:main Mar 6, 2023
beeme1mr pushed a commit that referenced this pull request Mar 7, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.4.1](v0.4.0...v0.4.1)
(2023-03-07)


### 🔄 Refactoring

* remove unused struct field
([#458](#458))
([a04c0b8](a04c0b8))


### 🧹 Chore

* **deps:** update sigstore/cosign-installer digest to bd2d118
([#471](#471))
([ee90f48](ee90f48))


### 🐛 Bug Fixes

* **deps:** update module
github.com/open-feature/go-sdk-contrib/providers/flagd to v0.1.10
([#459](#459))
([cbdf9b0](cbdf9b0))
* **deps:** update module golang.org/x/net to v0.8.0
([#468](#468))
([10d5f2c](10d5f2c))
* fix broken image signing
([#461](#461))
([05bb51c](05bb51c))
* fixing image delimeter
([#463](#463))
([b4ee495](b4ee495))
* security issues
([#464](#464))
([7f1e759](7f1e759))
* set readiness once only
([#465](#465))
([41a888d](41a888d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Dec 2, 2023
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.

Investigate security findings

4 participants