Skip to content

Commit

Permalink
Adding empty postgres remote store.
Browse files Browse the repository at this point in the history
  • Loading branch information
andream16 committed Dec 5, 2024
1 parent 30dae10 commit 7217892
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions sdk/component/store/remote/potsgresql/store.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package potsgresql

import (
"context"

"github.com/smithy-security/smithy/sdk/component/uuid"
ocsf "github.com/smithy-security/smithy/sdk/gen/com/github/ocsf/ocsf_schema/v1"
)

// TODO: implement in next PR.
type manager struct{}

func (m manager) Close(ctx context.Context) error {
//TODO implement me
panic("implement me")
}

func (m manager) Validate(finding *ocsf.VulnerabilityFinding) error {
//TODO implement me
panic("implement me")
}

func (m manager) Read(ctx context.Context, instanceID uuid.UUID) ([]*ocsf.VulnerabilityFinding, error) {
//TODO implement me
panic("implement me")
}

func (m manager) Update(ctx context.Context, instanceID uuid.UUID, findings []*ocsf.VulnerabilityFinding) error {
//TODO implement me
panic("implement me")
}

func (m manager) Write(ctx context.Context, instanceID uuid.UUID, findings []*ocsf.VulnerabilityFinding) error {
//TODO implement me
panic("implement me")
}

0 comments on commit 7217892

Please sign in to comment.