Skip to content

Commit 2d587a7

Browse files
committed
add gifs and update readme
1 parent def305d commit 2d587a7

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
The Security extension is an open-source Gemini CLI extension, built to enhance your repository's security posture. The extension adds a new command to Gemini CLI that analyzes code changes to identify a variety of security risks and vulnerabilities.
44

5+
![Security Extension Workflow](./assets/gemini-cli-security-extension-workflow.gif)
6+
57
## Features
68

79
- **AI-powered security analysis**: Leverages Gemini's advanced capabilities to provide intelligent and context-aware security analysis.
@@ -26,6 +28,15 @@ Important: This report is a first-pass analysis, not a complete security audit.
2628

2729
Note: The /security:analyze command is currently designed for interactive use. Support for non-interactive sessions is planned for a future release (tracked in [issue #20](https://github.com/gemini-cli-extensions/security/issues/20)).
2830

31+
### Customize the `/security:analyze` command
32+
33+
By default, the `/security:analyze` command determines the scope of the analysis using `git diff --merge-base origin/HEAD`. However, to customize the scope, you can add instructions to the command using natural language. For example, to analyze all files in `scripts` folder, you can run the command as
34+
```bash
35+
/security:analyze Analyze all the source code under the script folder. Skip the docs, config files and package files.
36+
```
37+
38+
![Security Extension Workflow](./assets/customize_command.gif)
39+
2940
## GitHub Integration
3041

3142
Coming soon!

assets/customize_command.gif

2.62 MB
Loading
27.3 MB
Loading

0 commit comments

Comments
 (0)