Skip to content

Commit

Permalink
feat: include secret scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 26, 2023
1 parent 9f53cee commit e583ff2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
nupkgs
.DS_Store
**/node_modules/**
__pycache__
9 changes: 9 additions & 0 deletions nix/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ pre-commit-lib.run {
pass_filenames = false;
};

a-infisical-staged = {
enable = true;
name = "Secrets Scanning (Staged)";
description = "Scan for possible secrets in staged files";
entry = "${packages.infisical}/bin/infisical scan git-changes --staged -v";
language = "system";
pass_filenames = false;
};

a-gitlint = {
enable = true;
name = "Gitlint";
Expand Down
1 change: 1 addition & 0 deletions sdks/python/cyanprintsdk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from cyanprintsdk.api.template.req import TemplateAnswerReq, TemplateValidateReq
from cyanprintsdk.api.template.res import TemplateRes, TemplateValidRes
from cyanprintsdk.domain.core.cyan_script import ICyanPlugin, ICyanProcessor, ICyanTemplate, ICyanExtension
from cyanprintsdk.domain.core.cyan_script_model import CyanPluginInput
from cyanprintsdk.domain.extension.input import ExtensionAnswerInput, ExtensionValidateInput
from cyanprintsdk.domain.extension.output import ExtensionOutput
from cyanprintsdk.domain.extension.service import ExtensionService
Expand Down

0 comments on commit e583ff2

Please sign in to comment.