Skip to content

Commit

Permalink
fix: add enrichment rule from ec2 to host
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarschulte committed Jul 8, 2024
1 parent d79988e commit 2cc92b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Specification struct {
// Simulate Enrichments
EnrichmentHostToContainerEnabled bool `json:"enrichmentHostToContainerEnabled" split_words:"true" required:"false" default:"false"`
EnrichmentContainerToHostEnabled bool `json:"enrichmentContainerToHostEnabled" split_words:"true" required:"false" default:"false"`
EnrichmentEC2ToHostEnabled bool `json:"enrichmentEC2ToHostEnabled" split_words:"true" required:"false" default:"false"`
EnrichmentEc2ToHostEnabled bool `json:"enrichmentEc2ToHostEnabled" split_words:"true" required:"false" default:"false"`

// discovery delay in ms
DiscoveryDelayInMs int `json:"discoveryDelayInMs" split_words:"true" required:"false" default:"0"`
Expand Down
2 changes: 1 addition & 1 deletion extloadtest/enrichment_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (d *ltEnrichmentRuleProvider) DescribeEnrichmentRules() []discovery_kit_api
if config.Config.EnrichmentContainerToHostEnabled {
result = append(result, getContainerToHostEnrichmentRule())
}
if config.Config.EnrichmentEC2ToHostEnabled {
if config.Config.EnrichmentEc2ToHostEnabled {
result = append(result, getEC2ToHostEnrichmentRule())
}
return result
Expand Down

0 comments on commit 2cc92b8

Please sign in to comment.