Sast Group
A sast group is a set of users and rules for static code scans. You set up this group to control who runs code checks and reads results. Most teams link their directory to the code scanner to manage these roles. Broad permissions let too many users change scan rules or ignore code alerts. Giving every developer admin rights in the scanner weakens your whole security check process. How a sast group works in your build pipeline A sast group links your identity provider to your static code analy
SAST (Static Application Security Testing): the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
A sast group is a set of users and rules for static code scans. You set up this group to control who runs code checks and reads results. Most teams link their directory to the code scanner to manage these roles. Broad permissions let too many users change scan rules or ignore code alerts. Giving every developer admin rights in the scanner weakens your whole security check process.
How a sast group works in your build pipeline
A sast group links your identity provider to your static code analysis tool. Admins create groups based on team roles like developers, leads, and security reviewers. Developers get rights to trigger scans and read alerts for their own code repos. Security leads get higher rights to edit rules and mark false positives as safe. Build servers use service tokens tied to a specific group to run automated checks. Every pull request runs a scan before anyone can merge the new code. The tool checks the source files against a list of known code flaws. If the scanner finds a high risk bug, it blocks the merge right away. Group rules decide who can override a blocked build during an urgent fix. Without clear group boundaries, any user might skip vital checks to ship code faster.
What static scan groups solve and what they miss
Setting up clear scanner groups fixes role sprawl across your source code tools. It makes sure only trained staff can silence alerts or change baseline rules. Auditors can check group lists to see who approved a risky code change. Still, static scan groups only govern code before it ships to your servers. They do not control what engineers or apps do inside live systems later. A clean code scan does not stop a developer from running bad database queries. Static tools also cannot check live commands run during a late night incident fix. Your group setup decides who logs in to read scan reports during build time. It cannot inspect live queries or mask emails and card numbers in query results. Teams still need runtime controls to watch real actions on live data and servers.
How to keep scan group roles clean over time
Start by mapping each code repo to a single owning team in your directory. Give most developers read and scan rights inside their own project spaces only. Restrict rule editing and alert overrides to a small security review group. Review these group lists every quarter to remove people who changed teams. Separate human user groups from the service accounts used by your build runners. Give build runners the minimum rights needed to upload code and post scan results. Log every rule change and alert override so you can review them later. When an engineer needs to fix a live bug, do not rely on scan roles. Use runtime controls that check every command and rewrite phone numbers or national IDs.
SAST (Static Application Security Testing): architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
What is the main purpose of a sast group?
It groups users and service accounts to control access inside static code scan tools. It defines who can view alerts, change scan rules, or bypass failed builds.
Should build servers share a group with human developers?
No, build servers should sit in their own group with narrow automation rights. They only need permissions to start scans and report status back to the repo.
Does a sast group protect live production databases?
No, static scan groups only manage roles and code checks during the build phase. You need separate runtime controls to inspect live queries and mask sensitive data fields.
Related guides
In this post