Skip to content

Commit

Permalink
Make processor available to all Beats
Browse files Browse the repository at this point in the history
I moved the processor to libbeat to make it available to all Beats. And because it's not available to all Beats it now makes sense to include the docs by default in all Beats.
  • Loading branch information
andrewkroh committed Feb 25, 2020
1 parent ecba36c commit 63c5787
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions libbeat/cmd/instance/imports_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ import (
_ "github.com/elastic/beats/libbeat/processors/extract_array"
_ "github.com/elastic/beats/libbeat/processors/fingerprint"
_ "github.com/elastic/beats/libbeat/processors/registered_domain"
_ "github.com/elastic/beats/libbeat/processors/translate_sid"
_ "github.com/elastic/beats/libbeat/publisher/includes" // Register publisher pipeline modules
)
6 changes: 3 additions & 3 deletions libbeat/docs/processors-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ endif::[]
ifndef::no_truncate_fields_processor[]
* <<truncate-fields, `truncate_fields`>>
endif::[]
ifdef::include_translate_sid_processor[]
ifdef::no_translate_sid_processor[]
* <<processor-translate-sid, `translate_sid`>>
endif::[]
//# end::processors-list[]
Expand Down Expand Up @@ -194,8 +194,8 @@ endif::[]
ifndef::no_truncate_fields_processor[]
include::{libbeat-processors-dir}/actions/docs/truncate_fields.asciidoc[]
endif::[]
ifdef::include_translate_sid_processor[]
include::{winlogbeat-processors-dir}/translate_sid/docs/translate_sid.asciidoc[]
ifdef::no_translate_sid_processor[]
include::{libbeat-processors-dir}/translate_sid/docs/translate_sid.asciidoc[]
endif::[]

//# end::processors-include[]
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ beta[]

The `translate_sid` processor translates a Windows security identifier (SID)
into an account name. It retrieves the name of the account associated with the
SID, the first domain on which the SID is found, and the type of account.
SID, the first domain on which the SID is found, and the type of account. This
is only available on Windows.

Every account on a network is issued a unique SID when the account is first
created. Internal processes in Windows refer to an account's SID rather than
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//+build windows
// +build windows

package translate_sid

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//+build windows
// +build windows

package translate_sid

Expand Down
1 change: 0 additions & 1 deletion winlogbeat/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
_ "github.com/elastic/beats/libbeat/processors/script"
_ "github.com/elastic/beats/libbeat/processors/timestamp"
_ "github.com/elastic/beats/winlogbeat/processors/script/javascript/module/winlogbeat"
_ "github.com/elastic/beats/winlogbeat/processors/translate_sid"
)

// Name of this beat
Expand Down

0 comments on commit 63c5787

Please sign in to comment.