Skip to content

[Bug] Scan reimport #35

Description

@Nitr4x

Summary

Existing type scan should be reimported and not imported

Steps to Reproduce

  1. Run a scan
  2. Rerun a scan
  3. Results are not reimported in existing scan type

Expected Behavior

If a scan type exist, the results should be reimported instead of being imported.

Actual Behavior

Results are always imported

Environment

Field Value
ScopeGuardian version / commit v0.0.2
OS Alpine
Go version (if built from source) 1.25
Docker image tag (if using Docker) v0.0.2

Configuration

Paste your config.toml here (remove any sensitive values):

title = "ScopeGuardian CI Security Scan"

protected_branches = ["main", "master"]
path = "."

[kics]
platform = "Dockerfile"

[grype]
ignore_states = "not-fixed,unknown,wont-fix"
transitive_libraries = false

[opengrep]
exclude = ["*_test.go", "docker-compose.yml", "Dockerfile"]

Logs

N/A

Additional Context

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions