Skip to content

Commit bc6f27b

Browse files
ianmiellclaude
andcommitted
feat: pass policy data to policy evaluation and depend on agent v0.8.0-rc4
Read the policy data the agent sends in ConfigureRequest and pass it to the policy processor, as agent v0.8 requires, so policies can use data.* from the agent's policy_data config and the agent can record it for playback. Also picks up the agent's policy evaluation artifacts, evidence streaming and the plugin and policy source props. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2a018f1 commit bc6f27b

5 files changed

Lines changed: 96 additions & 72 deletions

File tree

‎go.mod‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/compliance-framework/plugin-github-settings
33
go 1.26.1
44

55
require (
6-
github.com/compliance-framework/agent v0.6.2
6+
github.com/compliance-framework/agent v0.8.0-rc4
77
github.com/google/go-github/v71 v71.0.0
88
github.com/hashicorp/go-hclog v1.6.3
99
github.com/hashicorp/go-plugin v1.7.0
@@ -14,7 +14,7 @@ require (
1414
require (
1515
github.com/agnivade/levenshtein v1.2.1 // indirect
1616
github.com/cespare/xxhash/v2 v2.3.0 // indirect
17-
github.com/compliance-framework/api v0.16.0 // indirect
17+
github.com/compliance-framework/api v0.20.0-rc2 // indirect
1818
github.com/containerd/errdefs/pkg v0.3.0 // indirect
1919
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 // indirect
2020
github.com/defenseunicorns/go-oscal v0.7.0 // indirect
@@ -35,7 +35,7 @@ require (
3535
github.com/lestrrat-go/jwx/v3 v3.0.13 // indirect
3636
github.com/lestrrat-go/option/v2 v2.0.0 // indirect
3737
github.com/mattn/go-colorable v0.1.14 // indirect
38-
github.com/mattn/go-isatty v0.0.20 // indirect
38+
github.com/mattn/go-isatty v0.0.22 // indirect
3939
github.com/oklog/run v1.2.0 // indirect
4040
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
4141
github.com/segmentio/asm v1.2.1 // indirect
@@ -46,17 +46,15 @@ require (
4646
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
4747
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
4848
github.com/yashtewari/glob-intersection v0.2.0 // indirect
49-
go.opentelemetry.io/otel/metric v1.42.0 // indirect
50-
go.opentelemetry.io/otel/trace v1.42.0 // indirect
5149
go.uber.org/multierr v1.11.0 // indirect
5250
go.uber.org/zap v1.27.1 // indirect
5351
go.yaml.in/yaml/v2 v2.4.4 // indirect
5452
go.yaml.in/yaml/v3 v3.0.4 // indirect
55-
golang.org/x/crypto v0.49.0 // indirect
56-
golang.org/x/net v0.52.0 // indirect
57-
golang.org/x/sync v0.20.0 // indirect
58-
golang.org/x/sys v0.42.0 // indirect
59-
golang.org/x/text v0.35.0 // indirect
53+
golang.org/x/crypto v0.52.0 // indirect
54+
golang.org/x/net v0.55.0 // indirect
55+
golang.org/x/sync v0.21.0 // indirect
56+
golang.org/x/sys v0.45.0 // indirect
57+
golang.org/x/text v0.38.0 // indirect
6058
google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 // indirect
6159
google.golang.org/grpc v1.79.3 // indirect
6260
google.golang.org/protobuf v1.36.11 // indirect

0 commit comments

Comments
 (0)