Skip to content

Commit

Permalink
Update Go module name
Browse files Browse the repository at this point in the history
Co-Authored-By: Liza Tsibur <[email protected]>
  • Loading branch information
caffeinatedpixel and lisaSW committed Jul 3, 2024
1 parent cf745c4 commit 10f8325
Show file tree
Hide file tree
Showing 62 changed files with 177 additions and 177 deletions.
8 changes: 4 additions & 4 deletions analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"runtime"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/util"

"golang.org/x/sync/errgroup"
"golang.org/x/time/rate"
Expand Down
2 changes: 1 addition & 1 deletion analysis/analysis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"testing"

"github.com/activecm/rita/config"
"github.com/activecm/rita/v5/config"

"github.com/joho/godotenv"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions analysis/beacons.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"slices"
"sort"

"github.com/activecm/rita/logger"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/util"

"github.com/montanaflynn/stats"
)
Expand Down
6 changes: 3 additions & 3 deletions analysis/spagooper.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strconv"
"time"

"github.com/activecm/rita/logger"
"github.com/activecm/rita/progressbar"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/progressbar"
"github.com/activecm/rita/v5/util"

"github.com/ClickHouse/clickhouse-go/v2"
"github.com/charmbracelet/bubbles/progress"
Expand Down
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"github.com/activecm/rita/config"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/util"

"github.com/google/go-github/github"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions cmd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"path/filepath"
"testing"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"

"github.com/joho/godotenv"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"regexp"
"strings"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"

"github.com/manifoldco/promptui"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions cmd/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"
"time"

"github.com/activecm/rita/cmd"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/cmd"
"github.com/activecm/rita/v5/database"

"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
14 changes: 7 additions & 7 deletions cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"time"
"unicode"

"github.com/activecm/rita/analysis"
"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/importer"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/modifier"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/analysis"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/importer"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/modifier"
"github.com/activecm/rita/v5/util"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
Expand Down
8 changes: 4 additions & 4 deletions cmd/import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"fmt"

"github.com/activecm/rita/cmd"
"github.com/activecm/rita/database"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/cmd"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/util"

iofs "io/fs"
"os"
Expand All @@ -15,7 +15,7 @@ import (
"testing"
"time"

"github.com/activecm/rita/importer"
"github.com/activecm/rita/v5/importer"

"github.com/ClickHouse/clickhouse-go/v2"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"strconv"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/table"
Expand Down
6 changes: 3 additions & 3 deletions cmd/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"strings"
"time"

"github.com/activecm/rita/cmd"
"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/cmd"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"

"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
4 changes: 2 additions & 2 deletions cmd/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"github.com/activecm/rita/config"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/util"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
Expand Down
8 changes: 4 additions & 4 deletions cmd/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"errors"
"fmt"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/util"
"github.com/activecm/rita/viewer"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/util"
"github.com/activecm/rita/v5/viewer"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"sync"

"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/util"

"github.com/hjson/hjson-go/v4"
"github.com/spf13/afero"
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"testing"

"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/util"

"github.com/joho/godotenv"
"github.com/spf13/afero"
Expand Down
2 changes: 1 addition & 1 deletion config/filter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config

import (
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/util"

"net"
)
Expand Down
4 changes: 2 additions & 2 deletions database/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/logger"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
driver "github.com/ClickHouse/clickhouse-go/v2/lib/driver"
Expand Down
6 changes: 3 additions & 3 deletions database/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/activecm/rita/cmd"
"github.com/activecm/rita/database"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/cmd"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/util"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
"github.com/spf13/afero"
Expand Down
4 changes: 2 additions & 2 deletions database/metadb.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/util"

"github.com/ClickHouse/clickhouse-go/v2"
)
Expand Down
4 changes: 2 additions & 2 deletions database/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"fmt"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/logger"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
driver "github.com/ClickHouse/clickhouse-go/v2/lib/driver"
Expand Down
6 changes: 3 additions & 3 deletions database/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"testing"
"time"

"github.com/activecm/rita/cmd"
"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/v5/cmd"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"

"github.com/ClickHouse/clickhouse-go/v2"
"github.com/joho/godotenv"
Expand Down
6 changes: 3 additions & 3 deletions database/threat_intel.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"strings"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/util"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
"github.com/spf13/afero"
Expand Down
2 changes: 1 addition & 1 deletion database/threat_intel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
"testing"

"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/util"

"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions database/valid_mime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"os"
"strings"

"github.com/activecm/rita/config"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/util"

"github.com/spf13/afero"
"golang.org/x/time/rate"
Expand Down
4 changes: 2 additions & 2 deletions database/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"sync"

"github.com/activecm/rita/config"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/logger"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
driver "github.com/ClickHouse/clickhouse-go/v2/lib/driver"
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/activecm/rita
module github.com/activecm/rita/v5

go 1.22.3

Expand Down
12 changes: 6 additions & 6 deletions importer/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"sync/atomic"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/importer/zeektypes"
zerolog "github.com/activecm/rita/logger"
"github.com/activecm/rita/progressbar"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/importer/zeektypes"
zerolog "github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/progressbar"
"github.com/activecm/rita/v5/util"

"github.com/ClickHouse/clickhouse-go/v2"
tea "github.com/charmbracelet/bubbletea"
Expand Down
8 changes: 4 additions & 4 deletions importer/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"sync/atomic"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/importer/zeektypes"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/importer/zeektypes"
"github.com/activecm/rita/v5/util"

"github.com/google/uuid"
)
Expand Down
12 changes: 6 additions & 6 deletions importer/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"sync/atomic"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/importer/zeektypes"
"github.com/activecm/rita/logger"
"github.com/activecm/rita/progressbar"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/importer/zeektypes"
"github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/progressbar"
"github.com/activecm/rita/v5/util"

"github.com/ClickHouse/clickhouse-go/v2"
tea "github.com/charmbracelet/bubbletea"
Expand Down
12 changes: 6 additions & 6 deletions importer/importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
"sync"
"time"

"github.com/activecm/rita/config"
"github.com/activecm/rita/database"
"github.com/activecm/rita/importer/zeektypes"
zerolog "github.com/activecm/rita/logger"
"github.com/activecm/rita/progressbar"
"github.com/activecm/rita/util"
"github.com/activecm/rita/v5/config"
"github.com/activecm/rita/v5/database"
"github.com/activecm/rita/v5/importer/zeektypes"
zerolog "github.com/activecm/rita/v5/logger"
"github.com/activecm/rita/v5/progressbar"
"github.com/activecm/rita/v5/util"

"github.com/charmbracelet/bubbles/progress"
"github.com/spf13/afero"
Expand Down
Loading

0 comments on commit 10f8325

Please sign in to comment.