-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the new eBPF artifacts into bpftool.yaml. ebpf.yaml is reverted.
- Loading branch information
Showing
2 changed files
with
36 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: 1.0 | ||
condition: command_exists "bpftool" | ||
output_directory: /live_response/system | ||
- | ||
description: List loaded eBPF programs. | ||
supported_os: [linux] | ||
collector: command | ||
command: bpftool prog list | ||
output_file: bpftool_prog_list.txt | ||
- | ||
description: Show information of pinned eBPF programs. | ||
supported_os: [linux] | ||
collector: command | ||
foreach: ls -A /sys/fs/bpf | cut -c1-8 | ||
command: bpftool prog show name "%line%" | ||
output_directory: /live_response/system/ebpf/%line% | ||
output_file: show.txt | ||
- | ||
description: Dump xlated eBPF programs. | ||
supported_os: [linux] | ||
collector: command | ||
foreach: ls -A /sys/fs/bpf | cut -c1-8 | ||
command: bpftool prog dump xlated name "%line%" | ||
output_directory: /live_response/system/ebpf/%line% | ||
output_file: xlated.txt | ||
- | ||
description: Dump jited eBPF programs. | ||
supported_os: [linux] | ||
collector: command | ||
foreach: ls -A /sys/fs/bpf | cut -c1-8 | ||
command: bpftool prog dump jited name "%line%" | ||
output_directory: /live_response/system/ebpf/%line% | ||
output_file: jited.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters