Skip to content

Commit

Permalink
feat: add embedded commands collector (#368)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Jun 25, 2024
1 parent cab5e30 commit 87c0f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/trivyk8s/trivyk8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ func (c *client) ListArtifactAndNodeInfo(ctx context.Context,
jobs.WithNodeConfig(c.nodeConfig),
jobs.WithCommandsPath(c.commandPaths),
jobs.WithSpecCommands(c.specCommandIds),
jobs.WithEmbeddedCommandFileSystem(c.commandFilesystem),
jobs.WithEmbeddedNodeConfigFilesystem(c.nodeConfigFilesystem),
)
// delete trivy namespace
defer jc.Cleanup(ctx)
Expand Down

0 comments on commit 87c0f9c

Please sign in to comment.