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

upgrade libssl3 libcrypto3 to solve CVE-2024-9143 #85

Merged
merged 2 commits into from
Nov 17, 2024
Merged

Conversation

erikzaadi
Copy link
Member

Updates #84

Description

Update dockerfiles to solve CVE-2024-9143

Type of change

  • Non-breaking change (fix of existing functionality that will not change current behavior)

Copy link
Member

@MPTG94 MPTG94 left a comment

Choose a reason for hiding this comment

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

LGTM

@erikzaadi erikzaadi force-pushed the fix-issue-84 branch 2 times, most recently from adcd2f2 to 171c3ee Compare November 4, 2024 08:12
@erikzaadi erikzaadi force-pushed the fix-issue-84 branch 2 times, most recently from 47d05ec to 0cee1ce Compare November 14, 2024 14:07
Copy link
Contributor

@Tankilevitch Tankilevitch left a comment

Choose a reason for hiding this comment

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

LGTM

@erikzaadi erikzaadi merged commit 3b2d958 into main Nov 17, 2024
4 checks passed
@erikzaadi erikzaadi deleted the fix-issue-84 branch November 17, 2024 06:59
pb := &port.ResponseBody{}
resp, err := portClient.Client.R().
SetResult(&pb).
Delete(fmt.Sprintf("v1/blueprints/%s/all-entities?delete_blueprint=false", blueprintIdentifier))
Copy link
Contributor

Choose a reason for hiding this comment

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

In our case we want to delete the blueprint, so it might be more efficient to do it in one call

}

if !pb.OK {
return fmt.Errorf("failed to delete blueprint, got: %s", resp.Body())
Copy link
Contributor

Choose a reason for hiding this comment

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

delete blueprint entities?

@@ -48,15 +56,19 @@ func (f *Fixture) CleanIntegration() {

func deleteDefaultResources(portClient *cli.PortClient, stateKey string) {
_ = integration.DeleteIntegration(portClient, stateKey)
_ = blueprint.DeleteBlueprintEntities(portClient, "workload")
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider having one function for DeleteBlueprint, with just a flag to delete all entities

@@ -275,5 +294,7 @@ func Test_InitIntegration_LocalResourcesConfiguration_ExistingIntegration_WithCo
assert.Nil(t, err)
assert.Equal(t, expectedConfig.Resources, i.Config.Resources)

testUtils.CheckResourcesExistence(false, f.portClient, f.t, []string{"workload", "namespace", "cluster"}, []string{"workload_overview_dashboard", "availability_scorecard_dashboard"}, []string{})
testUtils.CheckResourcesExistence(false, false, f.portClient, f.t, []string{"workload", "namespace", "cluster"}, []string{"workload_overview_dashboard", "availability_scorecard_dashboard"}, []string{})
defer tearDownFixture(t, f)
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you want to defer teardown fixture near its creation, like in other tests?

@@ -63,7 +80,7 @@ func TestPolling_DifferentConfiguration(t *testing.T) {
})

c <- time.Now()
time.Sleep(time.Millisecond * 500)
time.Sleep(time.Millisecond * 1500)
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why it takes 3 times longer now?

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