Skip to content

Commit

Permalink
fix Falcosidekick name for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <[email protected]>
  • Loading branch information
Issif committed Jan 27, 2025
1 parent 3326a60 commit 190d724
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion docs/outputs/otlp_metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- [Example of config.yaml](#example-of-configyaml)
- [Additional info](#additional-info)
- [Running a whole stack with docker-compose](#running-a-whole-stack-with-docker-compose)
- [Requirements](#requirements)
- [Configuration files](#configuration-files)
- [Run it](#run-it)

## Configuration

Expand Down Expand Up @@ -88,7 +91,7 @@ services:
"/usr/bin/falco" ,
"-o", "json_output=true",
"-o", "http_output.enabled=true",
"-o", "http_output.url=http://sidekick:2801", # Set the HTTP output url to Falco sidekick endpoint
"-o", "http_output.url=http://sidekick:2801", # Set the HTTP output url to Falcosidekick endpoint
"-o", "http_output.insecure=true"
]

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ func init() {
}
}

utils.Log(utils.InfoLvl, "", fmt.Sprintf("Falco Sidekick version: %s", GetVersionInfo().GitVersion))
utils.Log(utils.InfoLvl, "", fmt.Sprintf("Falcosidekick version: %s", GetVersionInfo().GitVersion))
utils.Log(utils.InfoLvl, "", fmt.Sprintf("Enabled Outputs: %s", outputs.EnabledOutputs))

}
Expand Down
2 changes: 1 addition & 1 deletion outputs/cliq.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
const (
tableSlideType = "table"
textSlideType = "text"
botName = "Falco Sidekick"
botName = "Falcosidekick"
)

// Table slide fields
Expand Down
2 changes: 1 addition & 1 deletion outputs/cliq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestNewCliqPayload(t *testing.T) {
expectedOutput := cliqPayload{
Text: "\U000026AA Rule: Test rule Priority: Debug",
Bot: cliqBot{
Name: "Falco Sidekick",
Name: "Falcosidekick",
Image: DefaultIconURL,
},
Slides: []cliqSlide{
Expand Down
2 changes: 1 addition & 1 deletion outputs/teams.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func newTeamsPayload(falcopayload types.FalcoPayload, config *types.Configuratio
fact teamsFact
)

section.ActivityTitle = "Falco Sidekick"
section.ActivityTitle = "Falcosidekick"
section.ActivitySubTitle = falcopayload.Time.String()

if config.Teams.OutputFormat == All || config.Teams.OutputFormat == Text || config.Teams.OutputFormat == "" {
Expand Down
2 changes: 1 addition & 1 deletion outputs/teams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestNewTeamsPayload(t *testing.T) {
ThemeColor: "ccfff2",
Sections: []teamsSection{
{
ActivityTitle: "Falco Sidekick",
ActivityTitle: "Falcosidekick",
ActivitySubTitle: "2001-01-01 01:10:00 +0000 UTC",
ActivityImage: "",
Text: "This is a test from falcosidekick",
Expand Down

0 comments on commit 190d724

Please sign in to comment.