Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go.mod #38

Merged
merged 3 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
cache: true

- name: Build
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/constants.Version=v0.0.0-rolling+${{ github.sha }}"'
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=v0.0.0-rolling+${{ github.sha }}"'
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache: true

- name: Build
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/constants.Version=${{ github.ref_name }}"'
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=${{ github.ref_name }}"'
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
Expand Down
16 changes: 8 additions & 8 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://www.twitter.com/_wald0"><img src="https://avatars.githubusercontent.com/u/842644?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andy Robbins</b></sub></a><br /><a href="#ideas-andyrobbins" title="Ideas, Planning, & Feedback">🤔</a> <a href="#design-andyrobbins" title="Design">🎨</a> <a href="#blog-andyrobbins" title="Blogposts">📝</a> <a href="#content-andyrobbins" title="Content">🖋</a> <a href="https://github.com/BloodHoundAD/AzureHound/commits?author=andyrobbins" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/ddlees"><img src="https://avatars.githubusercontent.com/u/8984872?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dillon Lees</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=ddlees" title="Code">💻</a> <a href="#maintenance-ddlees" title="Maintenance">🚧</a> <a href="#ideas-ddlees" title="Ideas, Planning, & Feedback">🤔</a> <a href="#design-ddlees" title="Design">🎨</a></td>
<td align="center"><a href="https://blog.cptjesus.com/"><img src="https://avatars.githubusercontent.com/u/5720446?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rohan Vazarkar</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=rvazarkar" title="Code">💻</a> <a href="#maintenance-rvazarkar" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://ulises.io/"><img src="https://avatars.githubusercontent.com/u/16910931?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ulises Rangel</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=urangel" title="Code">💻</a> <a href="#maintenance-urangel" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/joshgantt"><img src="https://avatars.githubusercontent.com/u/29784250?v=4?s=100" width="100px;" alt=""/><br /><sub><b>joshgantt</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=joshgantt" title="Code">💻</a> <a href="#maintenance-joshgantt" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/hugo-syn"><img src="https://avatars.githubusercontent.com/u/61210734?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hugo-syn</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=hugo-syn" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/crimike"><img src="https://avatars.githubusercontent.com/u/10261812?v=4?s=100" width="100px;" alt=""/><br /><sub><b>crimike</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=crimike" title="Code">💻</a></td>
<td align="center"><a href="https://www.twitter.com/_wald0"><img src="https://avatars.githubusercontent.com/u/842644?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andy Robbins</b></sub></a><br /><a href="#ideas-andyrobbins" title="Ideas, Planning, & Feedback">🤔</a> <a href="#design-andyrobbins" title="Design">🎨</a> <a href="#blog-andyrobbins" title="Blogposts">📝</a> <a href="#content-andyrobbins" title="Content">🖋</a> <a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=andyrobbins" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/ddlees"><img src="https://avatars.githubusercontent.com/u/8984872?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dillon Lees</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=ddlees" title="Code">💻</a> <a href="#maintenance-ddlees" title="Maintenance">🚧</a> <a href="#ideas-ddlees" title="Ideas, Planning, & Feedback">🤔</a> <a href="#design-ddlees" title="Design">🎨</a></td>
urangel marked this conversation as resolved.
Show resolved Hide resolved
<td align="center"><a href="https://blog.cptjesus.com/"><img src="https://avatars.githubusercontent.com/u/5720446?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rohan Vazarkar</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=rvazarkar" title="Code">💻</a> <a href="#maintenance-rvazarkar" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://ulises.io/"><img src="https://avatars.githubusercontent.com/u/16910931?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ulises Rangel</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=urangel" title="Code">💻</a> <a href="#maintenance-urangel" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/joshgantt"><img src="https://avatars.githubusercontent.com/u/29784250?v=4?s=100" width="100px;" alt=""/><br /><sub><b>joshgantt</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=joshgantt" title="Code">💻</a> <a href="#maintenance-joshgantt" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/hugo-syn"><img src="https://avatars.githubusercontent.com/u/61210734?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hugo-syn</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=hugo-syn" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/crimike"><img src="https://avatars.githubusercontent.com/u/10261812?v=4?s=100" width="100px;" alt=""/><br /><sub><b>crimike</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=crimike" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/0xffhh"><img src="https://avatars.githubusercontent.com/u/56194755?v=4?s=100" width="100px;" alt=""/><br /><sub><b>0xffhh</b></sub></a><br /><a href="https://github.com/BloodHoundAD/AzureHound/commits?author=0xffhh" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/0xffhh"><img src="https://avatars.githubusercontent.com/u/56194755?v=4?s=100" width="100px;" alt=""/><br /><sub><b>0xffhh</b></sub></a><br /><a href="https://github.com/bloodhoundad/azurehound/v2/commits?author=0xffhh" title="Code">💻</a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV CGO_ENABLED=1

COPY ./ ./
RUN go mod download
RUN go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/constants.Version=$VERSION+docker"
RUN go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=$VERSION+docker"

FROM gcr.io/distroless/base-debian11
LABEL org.opencontainers.image.source https://github.com/BloodHoundAD/AzureHound
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ The BloodHound data collector for Microsoft Azure

### Release Binaries

Download the appropriate binary for your platform from one of our [Releases](https://github.com/BloodHoundAD/AzureHound/releases).
Download the appropriate binary for your platform from one of our [Releases](https://github.com/bloodhoundad/azurehound/v2/releases).
urangel marked this conversation as resolved.
Show resolved Hide resolved

#### Rolling Release

The rolling release contains pre-built binaries that are automatically kept up-to-date with the `main` branch and can be downloaded from
[here](https://github.com/BloodHoundAD/AzureHound/releases/tag/rolling).
[here](https://github.com/bloodhoundad/azurehound/v2/releases/tag/rolling).
urangel marked this conversation as resolved.
Show resolved Hide resolved

> **Warning:** The rolling release may be unstable.

Expand All @@ -30,7 +30,7 @@ The rolling release contains pre-built binaries that are automatically kept up-t
To build this project from source run the following:

``` sh
go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/constants.Version=`git describe tags --exact-match 2> /dev/null || git rev-parse HEAD`"
go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=`git describe tags --exact-match 2> /dev/null || git rev-parse HEAD`"
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions client/app_role_assignments.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADAppRoleAssignments(ctx context.Context, servicePrincipalId string, filter, search, orderBy, expand string, selectCols []string, top int32, count bool) (azure.AppRoleAssignmentList, error) {
Expand Down
10 changes: 5 additions & 5 deletions client/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/enums"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/enums"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADApp(ctx context.Context, objectId string, selectCols []string) (*azure.Application, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/automation_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureAutomationAccount(ctx context.Context, subscriptionId, groupName, aaName, expand string) (*azure.AutomationAccount, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (

"encoding/json"

"github.com/bloodhoundad/azurehound/client/config"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/config"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func NewClient(config config.Config) (AzureClient, error) {
Expand Down
2 changes: 1 addition & 1 deletion client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package config

import (
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/v2/constants"
)

type Config struct {
Expand Down
6 changes: 3 additions & 3 deletions client/container_registries.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureContainerRegistry(ctx context.Context, subscriptionId, groupName, crName, expand string) (*azure.ContainerRegistry, error) {
Expand Down
8 changes: 4 additions & 4 deletions client/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureDevice(ctx context.Context, objectId string, selectCols []string) (*azure.Device, error) {
Expand Down
2 changes: 1 addition & 1 deletion client/directory_objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"fmt"
"io"

"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/v2/constants"
)

func (s *azureClient) GetAzureADDirectoryObject(ctx context.Context, objectId string) (json.RawMessage, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/function_apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureFunctionApp(ctx context.Context, subscriptionId, groupName, functionAppName, expand string) (*azure.FunctionApp, error) {
Expand Down
10 changes: 5 additions & 5 deletions client/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/enums"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/enums"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADGroup(ctx context.Context, objectId string, selectCols []string) (*azure.Group, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/keyvaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureKeyVault(ctx context.Context, subscriptionId, groupName, vaultName string) (*azure.KeyVault, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/logic_apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureLogicApp(ctx context.Context, subscriptionId, groupName, logicappName, expand string) (*azure.LogicApp, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/managed_clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureManagedCluster(ctx context.Context, subscriptionId, groupName, mcName, expand string) (*azure.ManagedCluster, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/management_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureManagementGroup(ctx context.Context, groupId, filter, expand string, recurse bool) (*azure.ManagementGroup, error) {
Expand Down
4 changes: 2 additions & 2 deletions client/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions client/resource_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureResourceGroup(ctx context.Context, subscriptionId, groupName string) (*azure.ResourceGroup, error) {
Expand Down
4 changes: 2 additions & 2 deletions client/rest/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"sync"
"time"

"github.com/bloodhoundad/azurehound/client/config"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/v2/client/config"
"github.com/bloodhoundad/azurehound/v2/constants"
)

type RestClient interface {
Expand Down
2 changes: 1 addition & 1 deletion client/rest/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"strings"
"time"

"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/v2/constants"
)

func NewHTTPClient(proxyUrl string) (*http.Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion client/rest/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions client/role_assignments.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADRoleAssignment(ctx context.Context, objectId string, selectCols []string) (*azure.UnifiedRoleAssignment, error) {
Expand Down
8 changes: 4 additions & 4 deletions client/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADRole(ctx context.Context, roleId string, selectCols []string) (*azure.Role, error) {
Expand Down
8 changes: 4 additions & 4 deletions client/service_principals.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"net/url"
"strings"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/constants"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/constants"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureADServicePrincipal(ctx context.Context, objectId string, selectCols []string) (*azure.ServicePrincipal, error) {
Expand Down
6 changes: 3 additions & 3 deletions client/storage_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"fmt"
"net/url"

"github.com/bloodhoundad/azurehound/client/query"
"github.com/bloodhoundad/azurehound/client/rest"
"github.com/bloodhoundad/azurehound/models/azure"
"github.com/bloodhoundad/azurehound/v2/client/query"
"github.com/bloodhoundad/azurehound/v2/client/rest"
"github.com/bloodhoundad/azurehound/v2/models/azure"
)

func (s *azureClient) GetAzureStorageAccount(ctx context.Context, subscriptionId, groupName, saName, expand string) (*azure.StorageAccount, error) {
Expand Down
Loading