Skip to content
7 changes: 7 additions & 0 deletions x-pack/filebeat/input/o365audit/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
Type: pluginName,
Configure: configure,
},

// ExcludeFromFIPS = true to prevent this input from being used in FIPS-capable
// Filebeat distributions. This input indirectly uses algorithms that are not
// FIPS-compliant. Specifically, the input depends on the
// github.com/Azure/azure-sdk-for-go/sdk/azidentity package which, in turn,
// depends on the golang.org/x/crypto/pkcs12 package, which is not FIPS-compliant.
ExcludeFromFIPS: true,
}
}

Expand Down Expand Up @@ -94,7 +101,7 @@
func (inp *o365input) Name() string { return pluginName }

func (inp *o365input) Test(src cursor.Source, ctx v2.TestContext) error {
tenantID := src.(*stream).tenantID

Check failure on line 104 in x-pack/filebeat/input/o365audit/input.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

Error return value is not checked (errcheck)
auth, err := inp.config.NewTokenProvider(tenantID)
if err != nil {
return err
Expand Down
2 changes: 2 additions & 0 deletions x-pack/filebeat/module/o365/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

== Office 365 module

WARNING: This module is not available in FIPS-capable Filebeat.

beta[]

include::{libbeat-dir}/shared/integration-link.asciidoc[]
Expand Down
Loading