Skip to content

Commit 20daa29

Browse files
authored
Documentation: Fix broken links, move deep dive section (#2322)
* Move Deep Dive to docs rather than Contributing section * Fix broken links * Move contributing guide Signed-off-by: grantseltzer <[email protected]>
1 parent 430c073 commit 20daa29

File tree

17 files changed

+93
-93
lines changed

17 files changed

+93
-93
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Tracee is an [Aqua Security] open source project.
7070
Learn about our open source work and portfolio [Here].
7171
Join the community, and talk to us about any matter in [GitHub Discussion] or [Slack].
7272

73-
[Tracee-eBPF]: https://github.com/aquasecurity/tracee/tree/main/cmd/tracee-ebpf
74-
[Tracee-Rules]: https://github.com/aquasecurity/tracee/tree/main/cmd/tracee-rules
73+
[Tracee-eBPF]: https://aquasecurity.github.io/tracee/dev/docs/tracing/
74+
[Tracee-Rules]: https://aquasecurity.github.io/tracee/dev/docs/detecting/
7575

7676
[Aqua Security]: https://aquasec.com
7777
[GitHub Discussion]: https://github.com/aquasecurity/tracee/discussions

cmd/tracee-ebpf/readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Documentation
22

33
The full documentation of Tracee-eBPF is available at
4-
[https://aquasecurity.github.io/tracee/dev/tracee-ebpf/](https://aquasecurity.github.io/tracee/dev/tracee-ebpf/).
4+
[https://aquasecurity.github.io/tracee/dev/docs/tracing/](https://aquasecurity.github.io/tracee/dev/docs/tracing/).
55
You can use the version selector on top to view documentation for a specific
66
version of Tracee.
7-

cmd/tracee-rules/readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Documentation
22

33
The full documentation of Tracee-Rules is available at
4-
[https://aquasecurity.github.io/tracee/dev/tracee-rules/](https://aquasecurity.github.io/tracee/dev/tracee-rules/).
4+
[https://aquasecurity.github.io/tracee/dev/docs/detecting/](https://aquasecurity.github.io/tracee/dev/docs/detecting/).
55
You can use the version selector on top to view documentation for a specific
66
version of Tracee.
7-

docs/contributing/overview.md

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,52 @@
1-
This section goes deep explaning Tracee's internals, and how to build Tracee on different platforms for the users interested in contributing.
1+
## Contributing
2+
3+
Thank you for taking interest in contributing to Tracee! This document covers our working practices and conventions.
4+
5+
## Issues and Discussions
6+
7+
We encourage open discussion and collaboration using both GitHub Issues and Discussions.
8+
9+
- [Discussions](https://github.com/aquasecurity/tracee/discussions) are free-style conversational tool, we use them for conversations.
10+
- [Issues](https://github.com/aquasecurity/tracee/issues) are project management tool, we use them to keep track on who's working on what and plan ahead.
11+
12+
If you have a suggestion, question, or a general comment - please use Discussions. If there's a clear work item (including bugs) - you can open an Issue.
13+
14+
### Discussions:
15+
16+
- We have the following discussion topics:
17+
1. [Announcements](https://github.com/aquasecurity/tracee/discussions/categories/announcements): One way communication from the team to the community. Consider this like our mini blog
18+
1. [Questions and Help](https://github.com/aquasecurity/tracee/discussions/categories/questions-and-help): For help and support. Consider this similar to StackOverflow.
19+
1. [Development](https://github.com/aquasecurity/tracee/discussions/categories/development): For discussing potential features, and collaborating on their design.
20+
21+
### Issues:
22+
23+
1. Every issue needs to be actionable and assignable. Consider the scope of the issue if assigned to one person, and break down if necessary.
24+
1. Be clear and definitive when composing issues. For bug reports, include detailed error messages and environment description. For features, include a clear scope and acceptance criteria.
25+
1. Since we have different projects under the same monorepo, use labels to denote areas that the issue relates to:
26+
1. `tracee-ebpf`
27+
1. `tracee-rules`
28+
1. `signatures`
29+
1. If non of the labels is relevant don't add any (usually for top-level issues)
30+
1. We use the following labels to describe the type of issue:
31+
1. `bug`
32+
1. `good-first-issue`
33+
1. Self-assign or request assignment for issues you intend to work on. Don't work on an issue assigned to someone else without checking with them first and reassigning.
34+
35+
## Pull Requests
36+
37+
1. Every Pull Request should have an associated Issue unless it is a trivial fix.
38+
1. When adding a flag option or other UX related change, make sure the design is explicitly described in the associated issue, and a maintainer approved it.
39+
1. Commit subject should succinctly describe the change:
40+
1. Max 50 chars.
41+
1. Written in imperative mood: begin with a verb like "fix", "add", "improve", or "refactor"; Think "once applied, this commit will...".
42+
1. If ambiguous, mention the area that this commit affects (see area labels above).
43+
1. Optional commit body (separated by empty line from subject) may explain why the change was made and not how. Wrap at 72 chars.
44+
1. Code related information should be in commit message, review related information should be in PR description.
45+
1. For changes that span different areas please try to make each change self contained and independent.
46+
47+
48+
## Code
49+
50+
1. Follow Golang's code review standards: https://github.com/golang/go/wiki/CodeReviewComments.
51+
1. Follow `gofmt` + `govet` + `goimports` formatting.
52+
1. Tests should be included alongside code changes wherever applicable, except for parts that are harder to test and are not currently tested (e.g. eBPF). When modifying already tested code, your changes must be represented in the existing tests.

docs/contributing/architecture.md renamed to docs/docs/deep-dive/architecture.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Tracee Architecture Overview
44

5-
![Architecture](../images/architecture.png)
5+
![Architecture](../../images/architecture.png)
66

77
!!! Overview Note
88

@@ -17,26 +17,26 @@
1717
1. Derived (from other) Events
1818
1. Network Events
1919

20-
[COLLECTED]:./../docs/tracing/index.md
20+
[COLLECTED]:./../tracing/index.md
2121

2222
1. **[DETECT]** patterns based on existing signatures:
23-
1. [OPA/Rego signatures](./../docs/detecting/rego.md)
24-
1. [Golang signatures](./../docs/detecting/golang.md)
25-
1. [Go-CEL signatures](./../docs/detecting/go-cel.md) (Proof-of-Concept / Experimental)
23+
1. [OPA/Rego signatures](../detecting/rego.md)
24+
1. [Golang signatures](../detecting/golang.md)
25+
1. [Go-CEL signatures](../detecting/go-cel.md) (Proof-of-Concept / Experimental)
2626

27-
[DETECT]: ./../docs/detecting/index.md
27+
[DETECT]: ./../detecting/index.md
2828

2929
1. Let other tools to **CONSUME** detection events:
30-
1. [Capture Artifacts](./../docs/capturing/index.md)
31-
1. [Postee](./../docs/integrating/postee.md)
32-
1. [Falco Sidekick](./../docs/integrating/falcosidekick.md)
30+
1. [Capture Artifacts](./../capturing/index.md)
31+
1. [Postee](./../integrating/postee.md)
32+
1. [Falco Sidekick](./../integrating/falcosidekick.md)
3333

3434
1. **ENFORCE**
3535
1. Work in Progress
3636

3737
## Tracee Pipeline Concept
3838

39-
![Tracee Pipeline](../images/tracee-pipeline-overview.png)
39+
![Tracee Pipeline](../../images/tracee-pipeline-overview.png)
4040

4141
!!! Pipeline Warning
4242

@@ -79,11 +79,12 @@
7979
> those events and to submit them to **tracee-rules** for it to evaluate
8080
> them looking for detection patterns described as **signatures**.
8181

82-
[shared memory ring buffer]: ./../contributing/deep-dive/performance.md
83-
[parse events for argument type]: ./../docs/tracing/output-options.md
84-
[enriches the events]: ./../docs/integrating/container-engines.md
85-
[capture artifacts]: ./../docs/capturing/index.md
86-
[golang]: ./../docs/detecting/golang.md
87-
[rego]: ./../docs/detecting/rego.md
88-
[go-cel]: ./../docs/detecting/go-cel.md
89-
[spit out]: ./../docs/integrating/webhook.md
82+
[shared memory ring buffer]: ./performance.md
83+
[parse events for argument type]: ./../tracing/output-options.md
84+
[enriches the events]: ./../integrating/container-engines.md
85+
[capture artifacts]: ./../capturing/index.md
86+
[golang]: ./../detecting/golang.md
87+
[rego]: ./../detecting/rego.md
88+
[go-cel]: ./../detecting/go-cel.md
89+
[spit out]: ./../integrating/webhook.md
90+

docs/contributing/deep-dive/caching-events.md renamed to docs/docs/deep-dive/caching-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ $ ./dist/tracee-ebpf --cache help
1212
understand the [tracee pipeline] concept, AND the [performance page], to
1313
understand possible pain points.
1414

15-
[architecture page]: ../architecture.md
15+
[architecture page]: ./architecture.md
1616
[performance page]: ./performance.md
17-
[tracee pipeline]: ../architecture.md#tracee-pipeline-concept
17+
[tracee pipeline]: ./architecture.md#tracee-pipeline-concept
1818

1919
![Tracee Cache](../../images/tracee-cache.png)
2020

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)