Skip to content

Commit 38f693f

Browse files
octo-sts-10[bot]github-actions[bot]egibs
authored
chore: bump yara-x to 1.15.0 (#1467)
* chore: bump yara-x to 1.15.0 * allow rustlang endpoint; add subject for update-yara-x * add index.crates.io endpoint * add static.crates.io endpoint --------- Co-authored-by: Update yara-x <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Evan Gibler <20933572+egibs@users.noreply.github.com>
1 parent 82613a9 commit 38f693f

9 files changed

Lines changed: 19 additions & 14 deletions

File tree

.chainguard/source.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
subject: https://github.com/chainguard-dev/malcontent/.github/workflows/release.yaml@refs/heads/main
1212
- issuer: https://token.actions.githubusercontent.com
1313
subject: https://github.com/chainguard-dev/malcontent/.github/workflows/third-party.yaml@refs/heads/main
14+
- issuer: https://token.actions.githubusercontent.com
15+
subject: https://github.com/chainguard-dev/malcontent/.github/workflows/update-yara-x.yaml@refs/heads/main
1416
- issuer: https://token.actions.githubusercontent.com
1517
subject: https://github.com/chainguard-dev/malcontent/.github/workflows/version.yaml@refs/heads/main
1618
- key:

.github/workflows/codeql.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on"
15-
YARA_X_RELEASE: "1.14.0"
15+
YARA_X_RELEASE: "1.15.0"
1616

1717
permissions: {}
1818

@@ -36,9 +36,12 @@ jobs:
3636
dl.google.com:443
3737
github.com:443
3838
go.dev:443
39+
index.crates.io:443
3940
objects.githubusercontent.com:443
4041
proxy.golang.org:443
4142
release-assets.githubusercontent.com:443
43+
static.crates.io:443
44+
static.rust-lang.org:443
4245
storage.googleapis.com:443
4346
sum.golang.org:443
4447
uploads.github.com:443

.github/workflows/fuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131

3232
env:
3333
GO_RELEASE: "go-1.26"
34-
YARA_X_RELEASE: "1.14.0"
34+
YARA_X_RELEASE: "1.15.0"
3535

3636
permissions: {}
3737

.github/workflows/go-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
GO_RELEASE: "go-1.26"
16-
YARA_X_RELEASE: "1.14.0"
16+
YARA_X_RELEASE: "1.15.0"
1717

1818
permissions: {}
1919

.github/workflows/style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Code Style
55

66
env:
77
GO_RELEASE: "go-1.26"
8-
YARA_X_RELEASE: "1.14.0"
8+
YARA_X_RELEASE: "1.15.0"
99

1010
permissions: {}
1111

.github/workflows/third-party.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
GO_RELEASE: "go-1.26"
13-
YARA_X_RELEASE: "1.14.0"
13+
YARA_X_RELEASE: "1.15.0"
1414

1515
permissions: {}
1616

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ $(GOLANGCI_LINT_BIN):
5151
mv $(LINT_ROOT)/out/linters/golangci-lint $@
5252

5353
YARA_X_REPO ?= virusTotal/yara-x
54-
YARA_X_VERSION ?= v1.14.0
55-
YARA_X_COMMIT ?= 6a7982f5924c63a7ccafdf440798e06f5e6a4ccd
54+
YARA_X_VERSION ?= v1.15.0
55+
YARA_X_COMMIT ?= 71e1b4e0d9ca5a050d98a8db5ef3788d5ff00e36
5656
YARA_X_SHA :=
5757
ifeq ($(LINT_OS),Darwin)
5858
ifeq ($(shell uname -m),arm64)
5959
LINT_ARCH = aarch64
60-
YARA_X_SHA = cee7ac001004fb721508c55190f57291b7b843290d488334a1d5cff45c519bc9
60+
YARA_X_SHA = d3afa669299e35a79e1243201ee5f7a8b52079c3765e2e9d300beb44ad2a9c49
6161
else
62-
YARA_X_SHA = 344eedd347d2aafb447d381a18f88974576231171ca72b3d969e88ace0cbf9ca
62+
YARA_X_SHA = 6466a91bd9f40e6e329ef6eb8217c11e4d352b0e31f48234c02f9b30ec6e113a
6363
endif
6464
else ifeq ($(LINT_OS),Linux)
6565
ifneq ($(filter $(shell uname -m),aarch64 arm64),)
6666
LINT_ARCH = aarch64
67-
YARA_X_SHA = 3c46835d0ffb8786b7e901517971b105eb1692f578dc244194ce206cf99ce988
67+
YARA_X_SHA = 56d173b7a47a8285318b618b21fe8648db165f160bbbee02f56b8da2341c2b19
6868
else
69-
YARA_X_SHA = 59b768cf25aa48fc30e7e9aaeb9166921ce18e3472d7059e7f5b12744224b712
69+
YARA_X_SHA = 90bb8898a2052781890684d8b030d62401a1226caab9fe58adf6fd7513f4a7b3
7070
endif
7171
endif
7272
YARA_X_BIN := $(LINT_ROOT)/out/linters/yr-$(YARA_X_VERSION)-$(LINT_ARCH)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/chainguard-dev/malcontent
33
go 1.26.1
44

55
require (
6-
github.com/VirusTotal/yara-x/go v1.14.0
6+
github.com/VirusTotal/yara-x/go v1.15.0
77
github.com/cavaliergopher/cpio v1.0.1
88
github.com/cavaliergopher/rpm v1.3.0
99
github.com/chainguard-dev/clog v1.8.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/VirusTotal/yara-x/go v1.14.0 h1:B8JDAVDN7TmzU2T1uVTMiMgpNIb1Lt4UZVePfFgthqs=
2-
github.com/VirusTotal/yara-x/go v1.14.0/go.mod h1:lgXP/nkYX349MVowrtTtU5hzMdCOWQLv3+wKll9+0F8=
1+
github.com/VirusTotal/yara-x/go v1.15.0 h1:s66mLNZ1X1sUn/wxa9OHDXq6nnuEx15/PsJth7jq/LI=
2+
github.com/VirusTotal/yara-x/go v1.15.0/go.mod h1:lgXP/nkYX349MVowrtTtU5hzMdCOWQLv3+wKll9+0F8=
33
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
44
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
55
github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk=

0 commit comments

Comments
 (0)