目录
dependabot[bot]

Bump golangci/golangci-lint-action from 6.5.2 to 9.3.0 (#34)

Bumps golangci/golangci-lint-action from 6.5.2 to 9.3.0.

Release notes

Sourced from golangci/golangci-lint-action's releases.

v9.3.0

What's Changed

Changes

Dependencies

Full Changelog: https://github.com/golangci/golangci-lint-action/compare/v9.2.1...v9.3.0

v9.2.1

What's Changed

IMPORTANT: this is the first immutable release.

Changes

Dependencies

... (truncated)

Commits
  • ba0d7d2 chore: prepare release v9.3.0
  • efd0857 feat: add no-run-logs-group as experimental option (#1403)
  • ed485de build(deps): bump undici from 6.24.0 to 6.27.0
  • 8872e8d build(deps-dev): bump js-yaml from 4.1.1 to 4.2.0 (#1400)
  • b163415 build(deps): bump tmp from 0.2.6 to 0.2.7 (#1399)
  • e52a9f8 build(deps): bump github/codeql-action from 4.35.5 to 4.36.0 in the github-ac...
  • 8182aa3 build(deps): bump tmp from 0.2.5 to 0.2.6 (#1397)
  • 5403a41 build(deps): bump github/codeql-action from 4.35.4 to 4.35.5 in the github-ac...
  • 82606bf chore: prepare release v9.2.1
  • 97c8387 chore: improve workflows (#1394)
  • Additional commits viewable in compare view

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

16天前49次提交

SPF-FLATTENER

This tool flattens the SPF record for a given domain to avoid reaching the 10 DNS lookup cap.

Flags

Flag Required? Type Default Description
domain required string root domain to set SPF record for
initialSPF optional string “” initial SPF record to flatten*
verbose optional bool false if true, print extra debug lines
dryrun optional bool true if false, update existing SPF record with flattened SPF
warn optional bool true if true, compares initial and flattened SPF, warning when different
url optional** string “” url to PATCH updated SPF record
authEmail optional** string “” X-Auth-Email header value
authKey optiona** string “” X-Auth-Key header value

*if not provided, will lookup and use existing SPF record for domain

**unless dryrun is false, then required

Example use cases

Base case: one-time flatten tool, just want to output flattened record:

go run main.go --domain <domain> --warn false

Dynamic update case: update SPF tool that acts without intervention. For example, a cron job that runs:

go run main.go --domain <domain> --initialSPF "<spfRecord>" --dryrun false --warn false --url "<url>" --authEmail "<email>" --authKey "<key>"

Dynamic warning case: recurring check SPF tool that alerts/warns on change. For example, a cron job that runs:

go run main.go --domain <domain> --intialSPF="<spfRecord>" 

Then once someone checks/approves of change, run once:

go run main.go --domain <domain> --initialSPF "<spfRecord>" --dryrun false --warn false --url "<url>" --authEmail "<email>" --authKey "<key>"
关于
203.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号