Skip to content

Commit

Permalink
chore: Update module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkheir committed Jan 9, 2023
1 parent 3cc13eb commit 7236291
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion aucoalesce/coalesce.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"time"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

// modeBlockDevice is the file mode bit representing block devices. This OS
Expand Down
2 changes: 1 addition & 1 deletion aucoalesce/coalesce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

var update = flag.Bool("update", false, "update .golden files")
Expand Down
2 changes: 1 addition & 1 deletion aucoalesce/event_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package aucoalesce

import (
. "github.com/elastic/go-libaudit/v2/auparse"
. "github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

// AuditEventType is a categorization of a simple or compound audit event.
Expand Down
2 changes: 1 addition & 1 deletion audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

"go.uber.org/multierr"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ import (

"github.com/stretchr/testify/assert"

"github.com/elastic/go-libaudit/v2/rule"
"github.com/elastic/go-libaudit/v2/rule/flags"
"github.com/elastic/go-libaudit/v2/sys"
"github.com/SEKOIA-IO/go-libaudit/v2/rule"
"github.com/SEKOIA-IO/go-libaudit/v2/rule/flags"
"github.com/SEKOIA-IO/go-libaudit/v2/sys"
)

// This can be run inside of Docker with:
// docker run -it --rm -v `pwd`:/go/src/github.com/elastic/go-libaudit --pid=host --privileged golang:1.10.2 /bin/bash
// docker run -it --rm -v `pwd`:/go/src/github.com/SEKOIA-IO/go-libaudit --pid=host --privileged golang:1.10.2 /bin/bash

var (
hexdump = flag.Bool("hexdump", false, "dump kernel responses to stdout in hexdump -C format")
Expand Down
2 changes: 1 addition & 1 deletion auparse/hex.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strconv"
"strings"

"github.com/elastic/go-libaudit/v2/internal"
"github.com/SEKOIA-IO/go-libaudit/v2/internal"
)

const nullTerminator = "\x00"
Expand Down
4 changes: 2 additions & 2 deletions cmd/audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"log"
"os"

"github.com/elastic/go-libaudit/v2"
"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/auparse/auparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import (

"gopkg.in/yaml.v2"

"github.com/elastic/go-libaudit/v2"
"github.com/elastic/go-libaudit/v2/aucoalesce"
"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2"
"github.com/SEKOIA-IO/go-libaudit/v2/aucoalesce"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/elastic/go-libaudit/v2
module github.com/SEKOIA-IO/go-libaudit/v2

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion reassembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sync/atomic"
"time"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

var errReassemblerClosed = errors.New("reassembler closed")
Expand Down
2 changes: 1 addition & 1 deletion reassembler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

const maxSeq sequenceNum = 1<<32 - 1
Expand Down
2 changes: 1 addition & 1 deletion rule/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

"github.com/kballard/go-shellquote"

"github.com/elastic/go-libaudit/v2/rule"
"github.com/SEKOIA-IO/go-libaudit/v2/rule"
)

// Parse parses an audit rule specified using flags. It can parse delete all
Expand Down
4 changes: 2 additions & 2 deletions rule/flags/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ package flags_test
import (
"testing"

. "github.com/elastic/go-libaudit/v2/rule"
"github.com/elastic/go-libaudit/v2/rule/flags"
. "github.com/SEKOIA-IO/go-libaudit/v2/rule"
"github.com/SEKOIA-IO/go-libaudit/v2/rule/flags"

"github.com/stretchr/testify/assert"
)
Expand Down
4 changes: 2 additions & 2 deletions rule/gen_testdata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
"github.com/kballard/go-shellquote"
"gopkg.in/yaml.v2"

"github.com/elastic/go-libaudit/v2"
"github.com/elastic/go-libaudit/v2/sys"
"github.com/SEKOIA-IO/go-libaudit/v2"
"github.com/SEKOIA-IO/go-libaudit/v2/sys"
)

var update = flag.Bool("update", false, "update .golden.yml files")
Expand Down
4 changes: 2 additions & 2 deletions rule/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strconv"
"strings"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

//go:generate sh -c "go tool cgo -godefs defs_kernel_types.go > zkernel_types.go && gofmt -w zkernel_types.go"
Expand Down Expand Up @@ -400,7 +400,7 @@ func (r ruleData) toAuditRuleData() (*auditRuleData, error) {
data.Mask[i] = 0xFFFFFFFF
}
// NOTE: This was added to match the binary output when listing rules
// from the kernel. See https://github.com/elastic/go-libaudit/pull/97.
// from the kernel. See https://github.com/SEKOIA-IO/go-libaudit/pull/97.
data.Mask[len(data.Mask)-1] = 0x0000FFFF
} else {
for _, syscallNum := range r.syscalls {
Expand Down
6 changes: 3 additions & 3 deletions rule/rule_integ_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
"github.com/stretchr/testify/assert"
"gopkg.in/yaml.v2"

"github.com/elastic/go-libaudit/v2/rule"
"github.com/elastic/go-libaudit/v2/rule/flags"
"github.com/elastic/go-libaudit/v2/sys"
"github.com/SEKOIA-IO/go-libaudit/v2/rule"
"github.com/SEKOIA-IO/go-libaudit/v2/rule/flags"
"github.com/SEKOIA-IO/go-libaudit/v2/sys"
)

var tempDir = "/tmp/audit-test"
Expand Down
2 changes: 1 addition & 1 deletion rule/rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/elastic/go-libaudit/v2/auparse"
"github.com/SEKOIA-IO/go-libaudit/v2/auparse"
)

func TestBuild(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion rule/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package rule

import "github.com/elastic/go-libaudit/v2/auparse"
import "github.com/SEKOIA-IO/go-libaudit/v2/auparse"

var (
reverseSyscall map[string]map[string]int
Expand Down

0 comments on commit 7236291

Please sign in to comment.