Skip to content

Commit

Permalink
chore: update copyright owner and setup initial ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ddlees committed Aug 2, 2022
1 parent 664bef0 commit ab9119a
Show file tree
Hide file tree
Showing 360 changed files with 400 additions and 361 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
matrix:
os:
- darwin
- linux
- windows
arch:
- amd64
- arm64
steps:
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true
cache: true

- name: Build
run: go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/constants.Version=`git describe --tags --exact-match 2> /dev/null || git rev-parse HEAD`"
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}

- name: Test
run: go test ./...
4 changes: 2 additions & 2 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
header:
license:
spdx-id: GPL-3.0-or-later
copyright-owner: The BloodHound Enterprise Team
copyright-owner: Specter Ops, Inc.
software-name: AzureHound
paths:
- '**/*.go'
- 'main.go'
paths-ignore:
- .git
- dist
Expand Down
2 changes: 1 addition & 1 deletion client/apps.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/devices.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/directory_objects.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/groups.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/keyvaults.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/management_groups.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/mocks/client.go

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

2 changes: 1 addition & 1 deletion client/query/params.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/resource_groups.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/rest/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/rest/http.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
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.

2 changes: 1 addition & 1 deletion client/rest/token.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/rest/utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/role_assignments.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/roles.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/service_principals.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/subscriptions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/tenants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/users.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion client/virtual_machines.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/configure.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/install_windows.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-app-owners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-app-owners_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-apps.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-apps_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-azure-ad.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-azure-rm.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-device-owners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-device-owners_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-devices.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-devices_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-group-members.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-group-members_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-group-owners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-group-owners_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-groups.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-groups_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-access-policies.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-access-policies_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-contributors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-contributors_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-owners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-owners_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-user-access-admins.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vault-user-access-admins_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vaults.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-key-vaults_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-descendants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-descendants_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-owners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-owners_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-user-access-admins.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/list-management-group-user-access-admins_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022 The BloodHound Enterprise Team
// Copyright (C) 2022 Specter Ops, Inc.
//
// This file is part of AzureHound.
//
Expand Down
Loading

0 comments on commit ab9119a

Please sign in to comment.