Skip to content

chore: merge main into int - #502

Merged
venkata-stepsecurity merged 37 commits into
intfrom
venkat/sync-main-into-int
Oct 28, 2026
Merged

venkata-stepsecurity merged 37 commits into
intfrom
venkat/sync-main-into-int

Conversation

@venkata-stepsecurity

Copy link
Copy Markdown
Collaborator

Why

After #501 merged, the Test check on #475 (main <-- Int) fails to compile:

./procmon_linux.go:167:6: fileMonitorAuditRule redeclared in this block

Each branch defines fileMonitorAuditRule once. The merge base of int and main is old (689409c), and main and int added the function through separate cherry-picks. #501 changed the lines just above it on int only, so merging int into main keeps both copies without a conflict.

Change

Merge main into int, keeping every file exactly as it is on int:

  • procmon_linux.go: int's version (one fileMonitorAuditRule).
  • .github/workflows/code-review.yml: kept. main had removed it, and a plain merge would have deleted it from int.

git diff int..venkat/sync-main-into-int is empty. Only main's history is added, so #475 compares against a recent merge base.

Checked locally

  • Merging this branch into main (what main <-- Int #475 does) is clean, has one fileMonitorAuditRule, and produces the same content as int.
  • go vet ./... passes on that result.

h0x0er and others added 30 commits February 28, 2026 08:02
feat: restrict DNS server calls to agent UID
removing ai-codewise workflow as it's not required anymore
(cherry picked from commit 378ef52)
- Added support for custom detection rules in the Armour integration.
- Introduced new functions to submit process, file, and network events to the detection manager.
- Updated the DNS proxy to submit DNS events when custom detection rules are enabled.
- Refactored the agent's DNS handling to ensure proper execution flow when Docker is uninstalled.

(cherry picked from commit 8192dfe)
- Introduced TelemetryURL in the ApiClient struct to allow separate telemetry endpoint usage.
- Updated the agent to utilize TelemetryURL for sending DNS records and network connections.
- Enhanced configuration handling to initialize TelemetryURL from the config file, defaulting to APIURL if not specified.

(cherry picked from commit 93e00d3)
- Eliminated the call to submitDNSEvent in the handleNetworkEvent function, streamlining the event handling process.

(cherry picked from commit a1eac7b)
- Added a new configuration option to enable custom detection rules in the agent's run function.

(cherry picked from commit 75a349e)
- Changed the assignment of OneTimeKey in the agent's run function to use apiclient.OneTimeKey.
- Updated the Armour dependency version from v1.1.3 to v1.2.0 in go.mod and go.sum.

(cherry picked from commit d4bfe1b)
…sys to v0.40.0

- Upgraded OpenTelemetry packages in go.mod and go.sum to version 1.40.0.
- Updated golang.org/x/sys dependency to version 0.40.0.

(cherry picked from commit 72f6f12)
- Moved the call to submitFileEvent to occur after unlocking the fileMutex, improving the event handling flow.

(cherry picked from commit 025b442)
- Upgraded the Armour dependency version in go.mod and go.sum from v1.2.0 to v1.2.1.

(cherry picked from commit 6d86062)
chore: update Armour dependency to v1.2.1
cherry: add global blocklist changes
* dont send net-connection for sinkhole ip

* bump armour to v1.2.4

* armour: bump to v1.4.0

* bump go version to 1.26.2
cherry: dont send net-connection for sinkhole ip, bump armour and go-version
generation of dummyNetworkEvent incase a domain was blocked.

enabled setting to protect agent from getting killed
main: add sinkhole-ip net-conn bug fix and enabled setting to protect agent from getting killed
Call disableSudoAndContainers early in agent startup and revoke sudo and
socket permissions before the slow container cleanup, which now runs in
the background. Add tests for revocation order and socket perms.

(cherry picked from commit aa706cd)
Fetch GitHub Actions endpoints from the GitHub meta API and add them to
the implicit endpoint list, with retries on failure. Skip domains under
githubusercontent.com because existing wildcard implicit endpoints
already cover them. If the fetch fails, the hardcoded implicit endpoints
remain as the baseline.

(cherry picked from commit 5391cf1)
Move runCmd and path overrides onto Sudo so the background
container-cleanup goroutine never reads package state restored by tests.

(cherry picked from commit bae4f1c)
h0x0er and others added 7 commits September 28, 2026 13:20
main: changes for building arm64 binary
currenlty we do not get global block ip event from nflog
fix: send domain name to custom detction rule manager for processing ntw rule
* revert github dns experiment when global feature flag is enabled

* also detect and remove github dns experiment drop-in under /run

* chore: bump go to 1.27.3

* revert github dns experiment in fail-safe order and replace resolv.conf symlink atomically
* revert github dns experiment when global feature flag is enabled

* also detect and remove github dns experiment drop-in under /run

* chore: bump go to 1.27.3

* revert github dns experiment in fail-safe order and replace resolv.conf symlink atomically
Brings main's history into int without changing any file on int, so the
int to main PR compares against a recent merge base.

With the old merge base, main and int had each added fileMonitorAuditRule
through separate cherry-picks, and merging int into main kept both copies
(fileMonitorAuditRule redeclared in procmon_linux.go). The merge also
keeps int's code-review.yml, which main had removed.

@step-security-bot-int step-security-bot-int left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please find StepSecurity AI-CodeWise code comments below.

Code Comments

Feedback

We appreciate your feedback in helping us improve the service! To provide feedback, please use emojis on this comment. If you find the comments helpful, give them a 👍. If they aren't useful, kindly express that with a 👎. If you have questions or detailed feedback, please create n GitHub issue in StepSecurity/AI-CodeWise.

@venkata-stepsecurity
venkata-stepsecurity merged commit cf2bec9 into int Oct 28, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants