Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Adds getPoliciesEvaluated() and getPoliciesMatched() methods to StepGateResponse for policy transparency
  • Adds PolicyMatch class with getPolicyId(), getPolicyName(), getAction(), getReason() methods
  • Adds PolicyEvaluationResult class for MAP execution with isAllowed(), getAppliedPolicies(), getRiskScore()
  • Updates CHANGELOG with Issues #1019, #1020, #1021

Related

  • Enterprise: getaxonflow/axonflow-enterprise#1023
  • Docs: getaxonflow/axonflow-docs#191
  • Issue #1019: Workflow Policy Enforcement
  • Issue #1020: MAP Audit Logging
  • Issue #1021: WCP Policy Transparency

Test plan

  • Existing tests pass
  • Maven build succeeds
  • Types compile without errors

Add new types to support workflow policy enforcement for Issues #1019, #1020, #1021:

- PolicyEvaluationResult: Contains policy evaluation results including
  allowed status, applied policies, risk score, required actions,
  processing time, and database access flag

- PolicyMatch: Represents a matched policy with policy ID, name, action,
  and reason fields

- PlanExecutionResponse: Response from MAP plan execution with policyInfo
  field for policy evaluation results

- StepGateResponse: Updated with policiesEvaluated and policiesMatched
  fields for WCP step gate checks
@saurabhjain1592 saurabhjain1592 merged commit 591627b into main Jan 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants