<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Contribution Guide on Tetragon - eBPF-based Security Observability and Runtime Enforcement</title>
		<link>/docs/contribution-guide/</link>
		<description>Recent content in Contribution Guide on Tetragon - eBPF-based Security Observability and Runtime Enforcement</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="/docs/contribution-guide/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Development setup</title>
				<link>/docs/contribution-guide/development-setup/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/development-setup/</guid>
				<description>&lt;h2 id=&#34;building-and-running-tetragon&#34;&gt;Building and running Tetragon&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#building-and-running-tetragon&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;For local development, you will likely want to build and run bare-metal Tetragon.&lt;/p&gt;&#xA;&lt;h3 id=&#34;requirements&#34;&gt;Requirements&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#requirements&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A Go toolchain with the &lt;a href=&#34;https://github.com/cilium/tetragon/blob/main/go.mod#L4&#34;&gt;version specified in the main &lt;code&gt;go.mod&lt;/code&gt;&lt;/a&gt;;&lt;/li&gt;&#xA;&lt;li&gt;GNU make;&lt;/li&gt;&#xA;&lt;li&gt;A running Docker service (you can use Podman as well);&lt;/li&gt;&#xA;&lt;li&gt;The &lt;a href=&#34;https://github.com/docker/buildx?tab=readme-ov-file#linux-packages&#34;&gt;docker-buildx-plugin&lt;/a&gt; (you may already have this);&lt;/li&gt;&#xA;&lt;li&gt;For building tests, &lt;code&gt;libcap&lt;/code&gt; and &lt;code&gt;libelf&lt;/code&gt; (in Debian systems, e.g., install&#xA;&lt;code&gt;libelf-dev&lt;/code&gt; and &lt;code&gt;libcap-dev&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;build-everything&#34;&gt;Build everything&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#build-everything&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;You can build most Tetragon targets as follows (this can take time as it builds&#xA;all the targets needed for testing, see &lt;a href=&#34;/docs/contribution-guide/development-setup/#minimal-build&#34;&gt;minimal build&lt;/a&gt;):&lt;/p&gt;</description>
			</item>
			<item>
				<title>Making changes</title>
				<link>/docs/contribution-guide/making-changes/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/making-changes/</guid>
				<description>&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Make sure the main branch of your fork is up-to-date:&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-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git fetch upstream&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git checkout main&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git merge upstream/main&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For further reference read&#xA;&lt;a href=&#34;https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork&#34;&gt;GitHub syncing a fork&lt;/a&gt;&#xA;documentation.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Create a PR branch with a descriptive name, branching from main:&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-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git switch -c pr/&lt;span style=&#34;color:#d88200&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#111&#34;&gt;GITHUB_USERNAME_OR_ORG&lt;/span&gt;&lt;span style=&#34;color:#d88200&#34;&gt;}&lt;/span&gt;/changes-to-something main&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Make the changes you want.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Test your changes. Follow &lt;a href=&#34;/docs/contribution-guide/development-setup/&#34;&gt;Development setup&lt;/a&gt; and&#xA;&lt;a href=&#34;/docs/contribution-guide/running-tests/&#34;&gt;Running tests&lt;/a&gt; guides to build and test Tetragon.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure that all new code is covered by unit and/or end-to-end tests where feasible.&lt;/li&gt;&#xA;&lt;li&gt;Run Tetragon locally to validate everything works as expected.&lt;/li&gt;&#xA;&lt;li&gt;If adding/extending tests is not required, mention in the commit message what existing test covers the new code&#xA;or how you validated the change.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run code/docs generation commands if needed (see the sections below for specific code areas).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run &lt;code&gt;git diff --check&lt;/code&gt; to catch obvious white space violations.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Follow &lt;a href=&#34;/docs/contribution-guide/submitting-a-pull-request/&#34;&gt;Submitting a pull request&lt;/a&gt; guide to commit your changes&#xA;and open a pull request.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
			</item>
			<item>
				<title>Running tests</title>
				<link>/docs/contribution-guide/running-tests/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/running-tests/</guid>
				<description>&lt;p&gt;Tetragon has several types of tests:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Go tests, composed of unit tests for userspace Go code and Go and BPF code.&lt;/li&gt;&#xA;&lt;li&gt;BPF unit tests, testing specifing BPF functions.&lt;/li&gt;&#xA;&lt;li&gt;E2E tests, for end-to-end tests, installing Tetragon in Kubernetes clusters&#xA;and checking for specific features.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Those tests are running in the Tetragon CI on various kernels&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; and various&#xA;architectures (amd64 and arm64).&lt;/p&gt;&#xA;&lt;h2 id=&#34;go-tests&#34;&gt;Go tests&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#go-tests&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;To run the Go tests locally, you can use:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Documentation</title>
				<link>/docs/contribution-guide/documentation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/documentation/</guid>
				<description>&lt;p&gt;Thank you for taking the time to improve Tetragon&amp;rsquo;s documentation.&lt;/p&gt;&#xA;&lt;h2 id=&#34;find-the-content&#34;&gt;Find the content&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#find-the-content&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;All the Tetragon documentation content can be found under&#xA;&lt;a href=&#34;https://github.com/cilium/tetragon/tree/main/docs/content/en/docs&#34;&gt;github.com/cilium/tetragon/docs/content/en/docs&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;div class=&#34;alert alert-info note callout&#34; role=&#34;alert&#34;&gt;&#xA;  &lt;strong&gt;Note&lt;/strong&gt; The main page served from a directory path is named &lt;code&gt;_index.md&lt;/code&gt;. For example&#xA;&lt;a href=&#34;/docs/contribution-guide/&#34;&gt;/docs/contribution-guide&lt;/a&gt; is available&#xA;under &lt;a href=&#34;https://github.com/cilium/tetragon/blob/main/docs/content/en/docs/contribution-guide/_index.md&#34;&gt;/docs/content/en/docs/contribution-guide/_index.md&lt;/a&gt;.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;style-to-follow&#34;&gt;Style to follow&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#style-to-follow&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;We generally follow the Kubernetes docs style guide&#xA;&lt;a href=&#34;https://kubernetes.io/docs/contribute/style/style-guide/&#34;&gt;k8s.io/docs/contribute/style/style-guide&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;preview-locally&#34;&gt;Preview locally&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#preview-locally&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;To preview the documentation locally, use one of the method below. Then browse&#xA;to &lt;a href=&#34;http://localhost:1313/docs&#34;&gt;localhost:1313/docs&lt;/a&gt;, the default port used by Hugo to&#xA;listen.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Submitting a pull request</title>
				<link>/docs/contribution-guide/submitting-a-pull-request/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/submitting-a-pull-request/</guid>
				<description>&lt;div class=&#34;alert alert-info note callout&#34; role=&#34;alert&#34;&gt;&#xA;  &lt;strong&gt;Note&lt;/strong&gt; This guide is partially based on the&#xA;&lt;a href=&#34;https://docs.cilium.io/en/latest/contributing/development/contributing_guide/#submitting-a-pull-request&#34;&gt;Cilium contributing guide&lt;/a&gt;.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;div class=&#34;alert alert-warning caution callout&#34; role=&#34;alert&#34;&gt;&#xA;  &lt;strong&gt;Caution&lt;/strong&gt; This guide assumes that you have already made and tested changes you want to contribute. If you have not,&#xA;please follow the steps from the &lt;a href=&#34;/docs/contribution-guide/#guide-for-code-and-docs-contribution&#34;&gt;Contribution Guide&lt;/a&gt;.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;commit-changes&#34;&gt;Commit changes&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#commit-changes&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Save your changes in one or more commits.  If you are not comfortable&#xA;with Git yet (in particular with &lt;code&gt;git rebase&lt;/code&gt;), refer to the&#xA;&lt;a href=&#34;https://docs.github.com/en/get-started/using-git/using-git-rebase-on-the-command-line&#34;&gt;GitHub documentation&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Developer&#39;s certificate of origin</title>
				<link>/docs/contribution-guide/developer-certificate-of-origin/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/developer-certificate-of-origin/</guid>
				<description>&lt;p&gt;To improve tracking of who did what, we’ve introduced a “sign-off” procedure,&#xA;make sure to read and apply the&#xA;&lt;a href=&#34;https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin&#34;&gt;Developer&amp;rsquo;s Certificate of Origin&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Release &amp; upgrade notes</title>
				<link>/docs/contribution-guide/release-notes/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/release-notes/</guid>
				<description>&lt;p&gt;Tetragon release notes are published on the &lt;a href=&#34;https://github.com/cilium/tetragon/releases&#34;&gt;GitHub releases page&lt;/a&gt;.&#xA;For when releases are published, see &lt;a href=&#34;/docs/contribution-guide/release-cadence/&#34;&gt;Release cadence&lt;/a&gt;.&#xA;To ensure the release notes are accurate and helpful, contributors should write them alongside development. Then, at&#xA;the time of release, the final notes are compiled and published.&lt;/p&gt;&#xA;&lt;p&gt;This guide is intended for both Tetragon developers and reviewers. Please follow it when creating or reviewing pull&#xA;requests.&lt;/p&gt;&#xA;&lt;h2 id=&#34;release-note-blurb-in-pr&#34;&gt;&lt;code&gt;release-note&lt;/code&gt; blurb in PR&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#release-note-blurb-in-pr&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;When you create a pull request, the template will include a &lt;code&gt;release-note&lt;/code&gt; blurb in the description. Write a short&#xA;description of your change there. Focus on the user perspective - that is, what functionality is available, not how&#xA;it&amp;rsquo;s implemented.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Contributor Ladder</title>
				<link>/docs/contribution-guide/contributor-ladder/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/contributor-ladder/</guid>
				<description>&lt;p&gt;Tetragon is a sub-project of the Cilium project and follows the same governance&#xA;model, community processes, and contributor growth paths as Cilium. To support&#xA;contributors in gaining both privileges and responsibilities, we adopt the shared&#xA;&lt;a href=&#34;https://github.com/cilium/community/blob/main/CONTRIBUTOR-LADDER.md&#34;&gt;Contributor Ladder&lt;/a&gt;.&#xA;This contributor ladder defines how contributors can grow from community&#xA;participants to project maintainers, along with the expectations at each level.&lt;/p&gt;&#xA;&lt;p&gt;Community members generally start at the first levels of the ladder and advance&#xA;as their involvement deepens. Becoming a Cilium organization member grants&#xA;additional privileges across the project ecosystem, such as the ability to&#xA;review pull requests or trigger CI runs. If you are contributing regularly to&#xA;Tetragon, we encourage you to join the&#xA;&lt;a href=&#34;https://github.com/cilium/community/blob/main/ladder/teams/tetragon-reviewers.yaml&#34;&gt;Tetragon Reviewers team&lt;/a&gt;&#xA;to help review code and accelerate development.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Release cadence</title>
				<link>/docs/contribution-guide/release-cadence/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/contribution-guide/release-cadence/</guid>
				<description>&lt;p&gt;Tetragon minor releases (&lt;code&gt;X.Y.0&lt;/code&gt;) follow a roughly six-month schedule,&#xA;similar to &lt;a href=&#34;https://docs.cilium.io/en/stable/contributing/release/organization/#release-cadence&#34;&gt;Cilium&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Patch releases (&lt;code&gt;X.Y.Z&lt;/code&gt;) do not follow a fixed calendar. They are published&#xA;on demand when users need fixes. Bug fixes are backported onto maintained&#xA;stable branches (including updates of critical packages).&lt;/p&gt;&#xA;&lt;p&gt;Published releases are listed on the&#xA;&lt;a href=&#34;https://github.com/cilium/tetragon/releases&#34;&gt;GitHub releases page&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
