<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Use Cases on Tetragon - eBPF-based Security Observability and Runtime Enforcement</title>
		<link>/docs/use-cases/</link>
		<description>Recent content in Use Cases on Tetragon - eBPF-based Security Observability and Runtime Enforcement</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="/docs/use-cases/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Filename access</title>
				<link>/docs/use-cases/filename-access/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/use-cases/filename-access/</guid>
				<description>&lt;p&gt;This page shows how you can create a tracing policy to monitor filename access. For general&#xA;information about tracing policies, see the &lt;a href=&#34;/docs/concepts/tracing-policy/hooks/&#34;&gt;tracing policy page&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There are two aspects of the tracing policy: (i) what hooks you can use to monitor specific types of&#xA;access, and (ii) how you can filter at the kernel level for only specific events.&lt;/p&gt;&#xA;&lt;h2 id=&#34;hooks&#34;&gt;Hooks&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#hooks&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;There are different ways applications can access and modify files, and for this tracing policy we&#xA;focus in three different types.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Network observability</title>
				<link>/docs/use-cases/network-observability/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/use-cases/network-observability/</guid>
				<description>&lt;p&gt;To view TCP connect events, apply the example TCP connect &lt;code&gt;TracingPolicy&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl apply -f https://raw.githubusercontent.com/cilium/tetragon/main/examples/tracingpolicy/tcp-connect.yaml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To start monitoring events in the &lt;code&gt;xwing&lt;/code&gt; pod run the Tetragon CLI:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl logs -n kube-system -l app.kubernetes.io/name&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;tetragon -c export-stdout -f &lt;span style=&#34;color:#111&#34;&gt;|&lt;/span&gt; tetra getevents -o compact --namespace default --pod xwing&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In another terminal, start generate a TCP connection. Here we use&#xA;curl.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl &lt;span style=&#34;color:#111&#34;&gt;exec&lt;/span&gt; -it xwing -- curl http://cilium.io&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The output in the first terminal will capture the new connect and write,&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
