Skip to content

Commit

Permalink
Fix host SBOM config
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce authored and L3n41c committed May 26, 2023
1 parent d247c24 commit abb733d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collector/corechecks/sbom/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (c *Check) Configure(integrationConfigDigest uint64, config, initConfig int
return err
}

c.processor, err = newProcessor(c.workloadmetaStore, sender, c.instance.ChunkSize, time.Duration(c.instance.NewSBOMMaxLatencySeconds)*time.Second, c.instance.HostSBOM)
c.processor, err = newProcessor(c.workloadmetaStore, sender, c.instance.ChunkSize, time.Duration(c.instance.NewSBOMMaxLatencySeconds)*time.Second, ddConfig.Datadog.GetBool("sbom.host.enabled"))
if err != nil {
return err
}
Expand Down

0 comments on commit abb733d

Please sign in to comment.