Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datapath: Add auth_type to policy verdict message #25410

Merged
merged 1 commit into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions api/v1/flow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- [Workload](#flow-Workload)

- [AgentEventType](#flow-AgentEventType)
- [AuthType](#flow-AuthType)
- [DebugCapturePoint](#flow-DebugCapturePoint)
- [DebugEventType](#flow-DebugEventType)
- [DropReason](#flow-DropReason)
Expand Down Expand Up @@ -267,6 +268,7 @@ EventTypeFilter is a filter describing a particular event type
| uuid | [string](#string) | | uuid is a universally unique identifier for this flow. |
| verdict | [Verdict](#flow-Verdict) | | |
| drop_reason | [uint32](#uint32) | | **Deprecated.** only applicable to Verdict = DROPPED. deprecated in favor of drop_reason_desc. |
| auth_type | [AuthType](#flow-AuthType) | | auth_type is the authentication type specified for the flow in Cilium Network Policy. Only set on policy verdict events. |
| ethernet | [Ethernet](#flow-Ethernet) | | l2 |
| IP | [IP](#flow-IP) | | l3 |
| l4 | [Layer4](#flow-Layer4) | | l4 |
Expand Down Expand Up @@ -794,6 +796,20 @@ AgentNotification in pkg/monitor/api/types.go



<a name="flow-AuthType"></a>

### AuthType
These types correspond to definitions in pkg/policy/l4.go

| Name | Number | Description |
| ---- | ------ | ----------- |
| NONE | 0 | |
| NULL | 1 | |
| MTLS_SPIFFE | 2 | |
| ALWAYS_FAIL | 3 | |



<a name="flow-DebugCapturePoint"></a>

### DebugCapturePoint
Expand Down