You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,29 +236,25 @@ Perform the following steps to install the pre-commit hook:
236
236
```yaml
237
237
repos:
238
238
- repo: https://github.com/cycodehq/cycode-cli
239
-
rev: v3.4.2
239
+
rev: v3.5.0
240
240
hooks:
241
241
- id: cycode
242
-
stages:
243
-
- pre-commit
242
+
stages: [pre-commit]
244
243
```
245
244
246
245
4. Modify the created file for your specific needs. Use hook ID `cycode` to enable scan for Secrets. Use hook ID `cycode-sca` to enable SCA scan. Use hook ID `cycode-sast` to enable SAST scan. If you want to enable all scanning types, use this configuration:
247
246
248
247
```yaml
249
248
repos:
250
249
- repo: https://github.com/cycodehq/cycode-cli
251
-
rev: v3.4.2
250
+
rev: v3.5.0
252
251
hooks:
253
252
- id: cycode
254
-
stages:
255
-
- pre-commit
253
+
stages: [pre-commit]
256
254
- id: cycode-sca
257
-
stages:
258
-
- pre-commit
255
+
stages: [pre-commit]
259
256
- id: cycode-sast
260
-
stages:
261
-
- pre-commit
257
+
stages: [pre-commit]
262
258
```
263
259
264
260
5. Install Cycode’s hook:
@@ -290,7 +286,7 @@ To install the pre-push hook in addition to or instead of the pre-commit hook:
290
286
```yaml
291
287
repos:
292
288
- repo: https://github.com/cycodehq/cycode-cli
293
-
rev: v3.4.2
289
+
rev: v3.5.0
294
290
hooks:
295
291
- id: cycode-pre-push
296
292
stages: [pre-push]
@@ -844,7 +840,7 @@ To set up the pre-push hook using the pre-commit framework:
844
840
```yaml
845
841
repos:
846
842
- repo: https://github.com/cycodehq/cycode-cli
847
-
rev: v3.4.2
843
+
rev: v3.5.0
848
844
hooks:
849
845
- id: cycode-pre-push
850
846
stages: [pre-push]
@@ -855,7 +851,7 @@ To set up the pre-push hook using the pre-commit framework:
0 commit comments