Skip to content

Commit

Permalink
feat: skip cloud sensors to only report on user endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed May 27, 2024
1 parent e52ee70 commit 39b9c30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/falcon/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ func GetMessages(config *config.Config, ctx context.Context) (results map[string

for _, detail := range allHostDetails {

// skip all cloud sensors since those are auto-managed
if detail.ServiceProvider != "" {
continue
}

email, err := findEmailTag(detail.Tags, config.Email.Domains)
if err != nil || email == "" {
email = "_NOTAG/" + detail.Hostname
Expand Down

0 comments on commit 39b9c30

Please sign in to comment.