steampipe plugin install gabrielsoltz/semgrep

Table: semgrep_project

A Semgrep project is a focused and organized endeavor undertaken by a development or security team to leverage the capabilities of the Semgrep static code analysis tool. It involves the application of Semgrep to analyze and improve the quality, security, and compliance of one or more software projects.

Examples

List all Semgrep projects

select
id,
name,
latest_scan
from
semgrep_project;

List all Semgrep projects for a specific deployment

select
id,
name,
latest_scan
from
semgrep_project
where
deployment_slug = 'my-deployment';

List all Semgrep projects with contains the tag security

select
*
from
semgrep_project
where
tags ? 'security';

List all Semgrep projects with a scan in the last 7 days

select
*
from
semgrep_project
where
latest_scan > now() - interval '7 days';

Schema for semgrep_project

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
created_attimestamp with time zoneTime when this project was created.
deployment_slugtext=Sanitized machine-readable name of the deployment.
idtextUnique ID of this project.
latest_scan_attimestamp with time zoneTime of latest scan, if there is one.
nametextName of the project.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
tagsjsonbTags associated to this project.
urltextURL of the project, if there is one.