Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL ITS
docker-ci
Commits
3b765fdc
Commit
3b765fdc
authored
5 years ago
by
Jose Raul Barreras
Browse files
Options
Downloads
Patches
Plain Diff
improve doc
parent
c89076e2
No related branches found
Branches containing commit
No related tags found
4 merge requests
!34
develop to master
,
!18
sync dependency-check with secrets-detection
,
!17
Resolve "Add Dependency Check"
,
!16
Resolve "Add Automated Secrets Detection"
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
examples/Detect-Secrets.md
+4
-3
4 additions, 3 deletions
examples/Detect-Secrets.md
with
5 additions
and
4 deletions
README.md
+
1
−
1
View file @
3b765fdc
...
...
@@ -27,4 +27,4 @@ This file is automatically updated after execute `git commit` based on the conte
-
its-registry.unl.edu/unl-its/docker-ci/static-code-analysis:python
_Last update: Thu May 30 17:5
7
:5
6
CDT 2019_
_Last update: Thu May 30 17:5
8
:5
3
CDT 2019_
...
...
This diff is collapsed.
Click to expand it.
examples/Detect-Secrets.md
+
4
−
3
View file @
3b765fdc
...
...
@@ -26,9 +26,10 @@ variables:
# Inline Allowlisting
To tell detect-secrets to ignore a particular line of code, simply append an inline pragma: allowlist secret comment. For example:
API_KEY = "blah-blah-but-actually-not-secret" # pragma: allowlist secret
print('hello world')
Inline commenting syntax for a multitude of languages is supported:
API_KEY = "blah-blah-but-actually-not-secret" # pragma: allowlist secret
print('hello world')
Inline commenting syntax for a multitude of languages is supported:
| Comment Style | Language Support |
| :------------ | :-------------- |
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment