Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
732 commits
Select commit Hold shift + click to select a range
e965b77
updated dependencies
caffix Dec 29, 2025
0e5ef0a
add the post_serv executable to the Docker image
caffix Dec 29, 2025
fcb5bd4
upgraded the golang image to 1.25.5-alpine
caffix Dec 29, 2025
5af69c1
bringing PostgreSQL back into the framework
caffix Dec 29, 2025
1a44161
updated dependencies
caffix Dec 30, 2025
c3a2ac1
changed how the PostgreSQL DSN is built
caffix Dec 30, 2025
04df36a
bringing PostgreSQL back to the client tools
caffix Dec 30, 2025
63902c3
added a since value when filling the cache
caffix Dec 30, 2025
af21ffc
fix: process ProvidedNames and Blacklist flags (-nf, -blf)
686f6c61 Dec 30, 2025
a79ce13
Merge pull request #1102 from 686f6c61/fix/issue-1086-nf-blf-flags
caffix Jan 1, 2026
bab9489
updated the DNS SRV list
caffix Jan 2, 2026
d1e300a
fixes
caffix Jan 2, 2026
959b51e
GitHub Actions workflows now using Go version 1.25.5
caffix Jan 3, 2026
cd7f110
initial commit
caffix Jan 5, 2026
4bf6f66
added a Close method to the PubSub logger
caffix Jan 5, 2026
3e9f93f
initial commit
caffix Jan 5, 2026
bc08e31
the new engine REST API server package
caffix Jan 5, 2026
3bc63b7
removed the graphql API
caffix Jan 5, 2026
cea0fa0
completed the first version of the engine REST API
caffix Jan 5, 2026
83289cf
fixes
caffix Jan 5, 2026
ed11829
unit test fix
caffix Jan 5, 2026
992907b
fixes and additional logging
caffix Jan 5, 2026
54b229a
fixes
caffix Jan 5, 2026
556d8e1
better error messages
caffix Jan 5, 2026
5ab8bbe
improvements for the bulk transfer feature
caffix Jan 6, 2026
d4f36a6
bug fix in a server route
caffix Jan 6, 2026
798b302
using a queue to prevent blocking
caffix Jan 6, 2026
c3f499a
starting to review the dispatcher
caffix Jan 8, 2026
06b637a
updated dependencies
caffix Jan 8, 2026
a72ffe4
dispatcher now has a durable backlog + bounded in-memory work queue
caffix Jan 8, 2026
9e223ee
fixes
caffix Jan 8, 2026
cea7cce
bug fix
caffix Jan 8, 2026
a6f4a6e
added a new durable backlog
caffix Jan 9, 2026
74566a9
updated dependencies
caffix Jan 9, 2026
98291d9
fixes
caffix Jan 9, 2026
6f6bd7b
fixes
caffix Jan 9, 2026
d097658
fixes
caffix Jan 9, 2026
7b722df
fix
caffix Jan 9, 2026
4713702
added unit tests for the backlog database and fixed a bug
caffix Jan 9, 2026
fc68b0a
initial commit
caffix Jan 10, 2026
8a6c83b
small changes
caffix Jan 10, 2026
01b3c91
tweaks to the scheduler
caffix Jan 10, 2026
7bcc7f1
initial commit
caffix Jan 10, 2026
6310bb4
small fixes before addressing the scaling methods
caffix Jan 10, 2026
a3dcf08
added new error checking
caffix Jan 10, 2026
79f73fd
starting to adjust the scaling methods
caffix Jan 10, 2026
6e8ee4d
improvements to pipeline pool scaling
caffix Jan 11, 2026
c27a59e
fixes
caffix Jan 11, 2026
d622906
cleaning up the dispatcher
caffix Jan 11, 2026
d3c4977
testing the pipeline pool scaling
caffix Jan 11, 2026
8e672a3
safety check added
caffix Jan 12, 2026
18d14db
bug fix regarding pipeline instance ID generation
caffix Jan 12, 2026
7c83ffa
small fixes
caffix Jan 12, 2026
644fc7a
improvements to the handling of events on the backlog
caffix Jan 12, 2026
e7a0300
session stats are now managed only within the session package
caffix Jan 12, 2026
dded8b2
session stats now uses a RWMutex
caffix Jan 12, 2026
7ad122d
in the process of adding asset specific limits
caffix Jan 13, 2026
ae6193d
pipeline pool limits are now set based on asset type
caffix Jan 13, 2026
f69c396
changes for the new handling of pipeline instance work queues
caffix Jan 13, 2026
9c28456
fix
caffix Jan 13, 2026
7d89fa0
added shuffling for random session selection
caffix Jan 13, 2026
23d36d4
improved the flow from backlog -> work queues
caffix Jan 13, 2026
d1c2d41
small change to an error type
caffix Jan 13, 2026
ac387a3
added exponential backoff
caffix Jan 13, 2026
f5c3828
adjusted backoff delay to 100 milliseconds
caffix Jan 13, 2026
7c4908b
added updated copyright dates
caffix Jan 14, 2026
2f24741
improved the backoff in the resolve package and removed from support
caffix Jan 14, 2026
9bdc942
updated dependencies
caffix Jan 14, 2026
7f8bd97
updated copyright dates
caffix Jan 15, 2026
c1de0c9
updated copyright dates
caffix Jan 15, 2026
357fd11
initial commit
caffix Jan 15, 2026
fea01a4
dispatcher now using the meta map for event reconstruction
caffix Jan 15, 2026
e2eb9b4
mostly copyright dates
caffix Jan 16, 2026
1aa1fa3
removed post_serv from the repo
caffix Jan 16, 2026
634f32c
updated copyright dates
caffix Jan 16, 2026
67c4a0b
small update
caffix Jan 16, 2026
6ea10f0
updated copyright dates
caffix Jan 16, 2026
c431a3e
updated copyright dates
caffix Jan 17, 2026
f665840
updated dependencies
caffix Jan 17, 2026
63a2f09
updated dependencies
caffix Jan 20, 2026
fb14be8
updated the framework to use the new asset-db repository interface
caffix Jan 20, 2026
e184be4
changed how the IP sweep filtering works
caffix Jan 20, 2026
0a32b15
updated dependencies
caffix Jan 21, 2026
944f3b9
updates related to IPs being added to the session scope
caffix Jan 21, 2026
8af906a
updating handling of log messages
caffix Jan 21, 2026
b62ec8f
changes to comments, logging, and copyright dates
caffix Jan 22, 2026
9acc477
making improvements to session logging
caffix Jan 22, 2026
9a93650
improvement to engine session logging
caffix Jan 22, 2026
3b2e803
improvements to the dynamic scoping system
caffix Jan 23, 2026
4bced9f
initial commit
caffix Jan 23, 2026
c99fdb7
updates to dynamic scope management
caffix Jan 23, 2026
0ca1f86
initial commit
caffix Jan 23, 2026
a21e16e
added an API endpoint to acquire session scope
caffix Jan 23, 2026
07bbfc4
small change
caffix Jan 23, 2026
cc02f2d
updated printScope function
caffix Jan 24, 2026
e9af5e8
many changes to session, config, and scope
caffix Jan 25, 2026
bdac2d7
enhanced the dynamic scope expansion rules
caffix Jan 25, 2026
9e06319
copyright dates and session context
caffix Jan 25, 2026
7ba240a
updates to scope expansion rules
caffix Jan 25, 2026
68473ec
updates to scope expansion rules
caffix Jan 25, 2026
fa2e576
changes based on how we treat PTR records
caffix Jan 25, 2026
ab618ad
changes related to scope expansion
caffix Jan 25, 2026
3a24297
bug fix related to the use of IPAddressSweep
caffix Jan 25, 2026
035a543
bug fix
caffix Jan 25, 2026
7774f7e
improvement to input validation
caffix Jan 26, 2026
e177791
initial commit
caffix Jan 26, 2026
5b214f7
updates
caffix Jan 26, 2026
7681fba
additional changes related to scope expansion
caffix Jan 26, 2026
b4ff716
updated dependencies
caffix Jan 27, 2026
c258f5a
added logging and other small updates
caffix Jan 27, 2026
69a7504
fixes
caffix Jan 27, 2026
1157fd8
fixes
caffix Jan 27, 2026
d182e84
bug fixes
caffix Jan 27, 2026
7febbe5
updated copyright dates
caffix Jan 27, 2026
bedf986
small fixes
caffix Jan 27, 2026
01a81fd
bug fixes
caffix Jan 27, 2026
829ffeb
updated copyright dates
caffix Jan 28, 2026
ba73999
various fixes
caffix Jan 28, 2026
9d07b05
fixes
caffix Jan 28, 2026
76d8784
bug fix
caffix Jan 28, 2026
3b63dc0
updated dependencies
caffix Jan 29, 2026
aaaf0e5
added the IsRegisteredDomain function
caffix Jan 29, 2026
fbf3dee
updated the WHOIS record parsing process
caffix Jan 29, 2026
6a40a28
fix
caffix Jan 29, 2026
fecb50c
all DNS requests now have a Context provided
caffix Jan 29, 2026
2634707
updated the resolve package
caffix Jan 29, 2026
84bc7e3
updated dependencies
caffix Jan 30, 2026
4d098c9
upgraded the asset-db package
caffix Jan 30, 2026
083aa49
updated the missing resolve package entry
caffix Jan 30, 2026
61365c9
updated the asset-db package
caffix Jan 30, 2026
3231245
updated dependencies
caffix Jan 30, 2026
bdba7a9
updated the asset-db package
caffix Jan 31, 2026
bed2226
removed support for the in-memory SQLite database
caffix Jan 31, 2026
5665af0
improving scope management
caffix Jan 31, 2026
c0cfb49
improvements
caffix Feb 1, 2026
552ab69
improved scope expansion
caffix Feb 1, 2026
0446722
upgraded dependencies
caffix Feb 1, 2026
aaa3f61
enforcing the rigid boundaries configuration option
caffix Feb 1, 2026
afc0a24
additional changes related to scope expansion
caffix Feb 1, 2026
9ef5721
bug fixes
caffix Feb 1, 2026
b18412e
small improvements
caffix Feb 2, 2026
d6b0f06
initial commit
caffix Feb 3, 2026
d351b59
updating the scope expansion rules
caffix Feb 3, 2026
873f14f
changed the pipeline stage
caffix Feb 3, 2026
5c9d2cd
additional scope expansion rules
caffix Feb 3, 2026
1ba9a74
initial commit
caffix Feb 3, 2026
9db966c
additional improvements to scope expansion
caffix Feb 3, 2026
9e85510
bug fixes
caffix Feb 3, 2026
349f8f9
various improvements
caffix Feb 4, 2026
996e121
additional improvements
caffix Feb 5, 2026
94f5d67
fixes
caffix Feb 5, 2026
cfb8dc8
enhancements
caffix Feb 5, 2026
7fdc6b9
various improvements
caffix Feb 5, 2026
d7957d6
changed pipeline stage positions
caffix Feb 5, 2026
d92d4ee
upgrade dependencies
caffix Feb 5, 2026
8e4b72e
changes to avoid false associations caused by TLS certificates
caffix Feb 5, 2026
9a71a80
starting to update Organization creation and enrichment
caffix Feb 6, 2026
4abeb0c
updates related to organization asset creation
caffix Feb 6, 2026
3832ab9
added checks for organization names during asset creation
caffix Feb 6, 2026
f4c1b82
cleaned up the code
caffix Feb 6, 2026
986ae7a
strengthened the organization discovery walks
caffix Feb 6, 2026
36a3e4b
updated dependencies
caffix Feb 7, 2026
a020c61
improvements related to country codes and organization jurisdiction
caffix Feb 7, 2026
06a4e8a
updated dependencies
caffix Feb 7, 2026
e0d0550
added organization registration ID claims
caffix Feb 8, 2026
1d0f759
important changes
caffix Feb 8, 2026
95dc44a
working on organization name fuzzy matching
caffix Feb 8, 2026
0be835e
updated dependencies
caffix Feb 8, 2026
43d950f
switched to alpha 2 country codes and parsing provinces into codes
caffix Feb 8, 2026
fa7f395
updates
caffix Feb 8, 2026
7405b08
fixes
caffix Feb 8, 2026
901eddb
improved location matching
caffix Feb 8, 2026
bf7f495
improvements to the location matching
caffix Feb 9, 2026
e00239e
added function to check of an organization name already exists in the…
caffix Feb 9, 2026
8a1855b
updates
caffix Feb 10, 2026
a9c418f
updated dependencies
caffix Feb 12, 2026
f0f9131
updated dependencies
caffix Feb 16, 2026
9c88235
updated the asset-db package
caffix Feb 16, 2026
0ff1074
updated the default configuration file
caffix Feb 17, 2026
2c06b9d
upgraded the asset-db package
caffix Feb 17, 2026
9615466
removed having a default engine URL
caffix Feb 17, 2026
1ec4883
updated the copyright date
caffix Feb 18, 2026
20192c0
added input validation
caffix Feb 18, 2026
fbb44e7
bug fix
caffix Feb 18, 2026
d52b806
added a new rule
caffix Feb 18, 2026
73a15f5
performance improvements
caffix Feb 19, 2026
77f2c2b
updated asset-db
caffix Feb 19, 2026
c26d461
updated copyright dates and small changes
caffix Feb 20, 2026
d60565e
updated dependencies
caffix Feb 20, 2026
4bdc167
bug fix
caffix Feb 20, 2026
c2a6afa
upgraded to Go version 1.26
caffix Feb 20, 2026
62af740
FQDNs with CNAME records are included
caffix Feb 20, 2026
8850fac
updated for Go version 1.26
caffix Feb 20, 2026
e13daaa
small fixes
caffix Feb 20, 2026
fe4d57b
initial commit
caffix Feb 21, 2026
ca60723
added the use of DetectRegistrantPlaceholder
caffix Feb 21, 2026
454278e
removed integration tests
caffix Feb 22, 2026
afb6324
various updates and fixes
caffix Feb 22, 2026
6e999fa
updated to use the new HealthCheck engine API endpoint
caffix Feb 22, 2026
31099e6
changes and initial commits related to the engine API docs
caffix Feb 22, 2026
7bd4dd1
updated the engine API client calls to include context params
caffix Feb 22, 2026
05bcf8c
updated dependencies
caffix Feb 22, 2026
59f511b
moved to the v1 package
caffix Feb 22, 2026
bfd8766
initial commit
caffix Feb 22, 2026
f169aa0
updated due to changes made to API v1
caffix Feb 22, 2026
a1d783d
small fix to the swagger documentation
caffix Feb 22, 2026
70160fb
working on memory leaks
caffix Feb 24, 2026
680490e
in the process of simplifying pipeline use
caffix Feb 25, 2026
9228426
dispatcher and pipelines functioning
caffix Feb 25, 2026
5bd5549
small fixes
caffix Feb 26, 2026
4994511
a few performance improvements
caffix Feb 27, 2026
db8511c
bug fix
caffix Feb 27, 2026
df60acd
addressing resource retention issues
caffix Feb 27, 2026
842b6cc
added trim to input addresses
caffix Feb 28, 2026
84f4b5e
added semaphores to implement limits for max number of network connec…
caffix Feb 28, 2026
c4f7a5c
updated asset-db
caffix Feb 28, 2026
14a4270
initial commit
caffix Mar 1, 2026
6488957
changes related to the upcoming session-specific HTTP clients
caffix Mar 1, 2026
aed9f4e
started implementing the HTTP client selection
caffix Mar 1, 2026
4c58a63
finished implementing the HTTP client selection and session network s…
caffix Mar 1, 2026
d019201
fix
caffix Mar 1, 2026
1b760f5
fixed #1107
caffix Mar 2, 2026
8063480
added protocol to the network service names
caffix Mar 2, 2026
67ea8ec
improvements to the engine API client
caffix Mar 3, 2026
4d4007d
tweaked the probe http transport to reduce heap retention
caffix Mar 6, 2026
379380f
updated dependencies
caffix Mar 7, 2026
1146ffc
updated CI/CD action and image versions
caffix Mar 7, 2026
15a9600
upgraded dependencies
caffix Mar 7, 2026
46c95f2
updated probe transport settings
caffix Mar 8, 2026
fb8bea8
updated HTTP probe transport
caffix Mar 11, 2026
3f62344
upgraded asset-db to v0.24.2
caffix Mar 11, 2026
2588839
updates
caffix Mar 11, 2026
c7e9be5
tweaking the default HTTP transport
caffix Mar 11, 2026
b1f5785
improvements to the HTTP transports
caffix Mar 11, 2026
4de1a1e
bug fix
caffix Mar 11, 2026
daba432
relaxing the HTTP Client and Transport timeouts a little bit
caffix Mar 12, 2026
cd45bdc
increased HTTP request context timeouts
caffix Mar 12, 2026
930519a
still adjusting the HTTP transports
caffix Mar 13, 2026
117faf7
added the IPToAddr function
caffix Mar 13, 2026
55f5962
now using the IPToAddr function for net.IP to netip.Addr conversion
caffix Mar 13, 2026
92ce4e1
removed the maximum connections per host from HTTP transports
caffix Mar 13, 2026
af9931a
updated dependencies
caffix Mar 17, 2026
d3bab82
addressed TLSCertificate requiring the subject common name to be a FQ…
caffix Mar 18, 2026
c4c1b97
safer close process for the pub/sub logger
caffix Mar 21, 2026
2397d90
updated the module path for the ini package
caffix Mar 30, 2026
992ed34
updated dependencies
caffix Mar 30, 2026
706f0a3
upgraded the asset-db package to v0.24.4
caffix Apr 1, 2026
6e3aa34
updated dependencies
caffix Apr 7, 2026
79299dc
updated to v5.1.1
caffix Apr 7, 2026
574ce99
fix: inject version via -ldflags so releases stop drifting (#1081)
ChrisJr404 May 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@ checks:
config:
threshold: 10
exclude_patterns:
- "doc/"
- "examples/"
- "images/"
- "resources/"
25 changes: 22 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
Dockerfile
*.md
images/*
examples/*
.idea
.idea
*.json
*.log
*.html
*.test
*.out
.glide/
*.exe
*.dll
*.so
*.dylib
*.zip
*.tar
*.tar.gz
*.tar.bz2
*.tar.xz
*.tgz
*.rar
*.7z
*.gz
*.bz2
*.xz
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.ads linguist-language=Lua
*.go text eol=lf
41 changes: 24 additions & 17 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,47 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
install: true
driver-opts: network=host
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: caffix/amass
images: owaspamass/amass
tags: |
type=semver,pattern=v{{major}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
labels: |
org.opencontainers.image.title=OWASP Amass
org.opencontainers.image.description=In-depth attack surface mapping and asset discovery
org.opencontainers.image.vendor=OWASP Foundation
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./
context: .
push: true
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
24 changes: 11 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: tests

on:
push:
branches: [ "master", "develop" ]
branches: [ "main", "develop" ]
pull_request:
branches: develop

Expand All @@ -12,17 +12,19 @@ jobs:
strategy:
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
go-version: [ "1.19" ]
go-version: [ "1.26.0" ]
runs-on: ${{ matrix.os }}
env:
CGO_ENABLED: 0
steps:
-
name: setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
-
name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: simple test
run: go test -v ./...
Expand All @@ -31,21 +33,17 @@ jobs:
run: go test -v ./...
env:
GOGC: 1
-
name: test with race detector
run: go test -v -race ./...
coverage:
name: Coverage
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0
steps:
- name: setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.26.0
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: measure coverage
run: go test -v -coverprofile=coverage.out ./...
- name: report coverage
run: |
bash <(curl -s https://codecov.io/bash)
17 changes: 7 additions & 10 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,26 @@ permissions:
jobs:
goreleaser:
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0
steps:
-
name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19
-
name: set up CycloneDX
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
version: v1
go-version: 1.26.0
-
name: run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.AMASS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
12 changes: 7 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ jobs:
strategy:
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
go-version: [ "1.19" ]
go-version: [ "1.26.0" ]
runs-on: ${{ matrix.os }}
env:
CGO_ENABLED: 0
steps:
-
name: setup
uses: actions/setup-go@v3
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
-
name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout=10m
args: --timeout=60m
only-new-issues: true
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
*.so
*.dylib

# Output from Amass tooling
*.json
*.log
*.html

# Test binary, build with `go test -c`
*.test

Expand Down
57 changes: 14 additions & 43 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
version: 2
project_name: amass

before:
hooks:
- go mod download
- go mod tidy

builds:
-
main: ./cmd/amass/
main: ./cmd/amass
binary: amass
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/owasp-amass/amass/v5/internal/afmt.Version=v{{ .Version }}
goos:
- windows
- linux
- darwin
- freebsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
Expand All @@ -29,34 +37,16 @@ builds:
goarch: arm
- goos: windows
goarch: arm64
- goos: freebsd
goarch: arm

archives:
-
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "darwin" }}macos
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
format: zip
files:
- LICENSE
- README.md
- examples/config.yaml
- examples/datasources.yaml

sboms:
- documents:
- "{{ .Binary }}_{{ .Os }}_{{ .Arch }}.bom.json"
artifacts: binary
cmd: cyclonedx-gomod
env:
- GOOS={{ .Os }}
- GOARCH={{ .Arch }}
args: [ "app", "-main", "cmd/amass", "-licenses", "-packages", "-json", "-output", "$document", "../" ]
- resources/config.yaml
- resources/datasources.yaml

checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
Expand All @@ -72,22 +62,3 @@ release:
github:
owner: owasp-amass
name: amass

brews:
-
name: amass
repository:
owner: owasp-amass
name: homebrew-amass
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/owasp-amass/amass/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: caffix
email: caffix@users.noreply.github.com
folder: Formula
homepage: "https://owasp.org/www-project-amass/"
description: "In-depth Attack Surface Mapping and Asset Discovery"
test: |
system "#{bin}/amass --version"
install: |
bin.install "amass"
10 changes: 6 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Contributing

Thank you for considering making contributions to Amass! Start by taking a look at the [open issues](https://github.com/owasp-amass/amass/issues) for things we need help with!
Thank you for considering making contributions to the OWASP Amass Project! Start by joining our [Discord server](https://discord.gg/ANTyEDUXt5), taking a look at the [Documentation](https://owasp-amass.github.io/docs/), and checking out the [open issues](https://github.com/owasp-amass/amass/issues) for things we need help with!

Please follow standard github best practices: fork the repo, branch from the tip of develop, make some commits, and submit a pull request to develop.

Please make sure to use `gofmt` before every commit - the easiest way to do this is have your editor run it for you upon saving a file. Otherwise, run the following command in the project root directory: `go fmt ./...`

It is recommended that you use the Golang Linter before every commit, to help you catch errors and to write clean code: `golangci-lint run ./...`

## Forking

Please note that Go requires code to live under absolute paths, which complicates forking.
Expand All @@ -22,15 +24,15 @@ For instance, to create a fork and work on a branch of it, user 'foo' would:
* `git remote add origin git@github.com:foo/amass.git`

Now `origin` refers to the foo fork and `upstream` refers to the OWASP version.
So foo can `git push -u origin master` to update his/her fork, and make pull requests to OWASP from there.
So foo can `git push -u origin develop` to update his/her fork, and make pull requests to OWASP from there.
Of course, replace `foo` with your git handle.

To pull in updates from the original repo, run

* `git fetch upstream`
* `git rebase upstream/master` (or whatever branch you want)
* `git rebase upstream/main` (or whatever branch you want)

Please don't make Pull Requests to `master`.
Please do not make pull requests to `main`.

### Development Procedure:
- the latest state of development is on `develop`
Expand Down
Loading