Skip to content

Commit

Permalink
pkg/sensors: add enable/disable tracing policy
Browse files Browse the repository at this point in the history
Add support of enable and disable Tracing Policy in tetra CLI.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Oct 9, 2023
1 parent 52994b5 commit ac36588
Show file tree
Hide file tree
Showing 24 changed files with 2,047 additions and 587 deletions.
56 changes: 56 additions & 0 deletions api/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@
- [DeleteTracingPolicyResponse](#tetragon-DeleteTracingPolicyResponse)
- [DisableSensorRequest](#tetragon-DisableSensorRequest)
- [DisableSensorResponse](#tetragon-DisableSensorResponse)
- [DisableTracingPolicyRequest](#tetragon-DisableTracingPolicyRequest)
- [DisableTracingPolicyResponse](#tetragon-DisableTracingPolicyResponse)
- [EnableSensorRequest](#tetragon-EnableSensorRequest)
- [EnableSensorResponse](#tetragon-EnableSensorResponse)
- [EnableTracingPolicyRequest](#tetragon-EnableTracingPolicyRequest)
- [EnableTracingPolicyResponse](#tetragon-EnableTracingPolicyResponse)
- [GetStackTraceTreeRequest](#tetragon-GetStackTraceTreeRequest)
- [GetStackTraceTreeResponse](#tetragon-GetStackTraceTreeResponse)
- [GetVersionRequest](#tetragon-GetVersionRequest)
Expand Down Expand Up @@ -1325,6 +1329,31 @@ Determins the behaviour of a field filter



<a name="tetragon-DisableTracingPolicyRequest"></a>

### DisableTracingPolicyRequest



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | |






<a name="tetragon-DisableTracingPolicyResponse"></a>

### DisableTracingPolicyResponse







<a name="tetragon-EnableSensorRequest"></a>

### EnableSensorRequest
Expand All @@ -1350,6 +1379,31 @@ Determins the behaviour of a field filter



<a name="tetragon-EnableTracingPolicyRequest"></a>

### EnableTracingPolicyRequest



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | |






<a name="tetragon-EnableTracingPolicyResponse"></a>

### EnableTracingPolicyResponse







<a name="tetragon-GetStackTraceTreeRequest"></a>

### GetStackTraceTreeRequest
Expand Down Expand Up @@ -1535,6 +1589,8 @@ Determins the behaviour of a field filter
| DeleteTracingPolicy | [DeleteTracingPolicyRequest](#tetragon-DeleteTracingPolicyRequest) | [DeleteTracingPolicyResponse](#tetragon-DeleteTracingPolicyResponse) | |
| RemoveSensor | [RemoveSensorRequest](#tetragon-RemoveSensorRequest) | [RemoveSensorResponse](#tetragon-RemoveSensorResponse) | |
| ListTracingPolicies | [ListTracingPoliciesRequest](#tetragon-ListTracingPoliciesRequest) | [ListTracingPoliciesResponse](#tetragon-ListTracingPoliciesResponse) | |
| EnableTracingPolicy | [EnableTracingPolicyRequest](#tetragon-EnableTracingPolicyRequest) | [EnableTracingPolicyResponse](#tetragon-EnableTracingPolicyResponse) | |
| DisableTracingPolicy | [DisableTracingPolicyRequest](#tetragon-DisableTracingPolicyRequest) | [DisableTracingPolicyResponse](#tetragon-DisableTracingPolicyResponse) | |
| ListSensors | [ListSensorsRequest](#tetragon-ListSensorsRequest) | [ListSensorsResponse](#tetragon-ListSensorsResponse) | |
| EnableSensor | [EnableSensorRequest](#tetragon-EnableSensorRequest) | [EnableSensorResponse](#tetragon-EnableSensorResponse) | |
| DisableSensor | [DisableSensorRequest](#tetragon-DisableSensorRequest) | [DisableSensorResponse](#tetragon-DisableSensorResponse) | |
Expand Down
Loading

0 comments on commit ac36588

Please sign in to comment.