Skip to content

Commit

Permalink
Add .git to exclusions patterns (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Nov 9, 2023
1 parent f858473 commit ffba68d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ pipelines:
# Relative path to the root of the project in the Git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ pipelines:
# Relative path to the root of the project in the Git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ pipelines:
# Relative path to the root of the project in the Git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ pipelines:
# Relative path to the project in the git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ pipelines:
# Relative path to the root of the project in the Git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ pipelines:
# Relative path to the project in the git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-pipenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ pipelines:
# Relative path to the root of the project in the Git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ pipelines:
# Relative path to the project in the git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/jfrog-pipelines/pipelines-yarn2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ pipelines:
# Relative path to the project in the git repository
# JF_WORKING_DIR: path/to/project/dir

# [Default: "*node_modules*;*target*;*venv*;*test*"]
# [Default: "*.git*;*node_modules*;*target*;*venv*;*test*"]
# List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.
# JF_PATH_EXCLUSIONS: "*node_modules*;*target*;*venv*;*test*"
# JF_PATH_EXCLUSIONS: "*.git*;*node_modules*;*target*;*venv*;*test*"

# [Optional]
# Xray Watches. Learn more about them here: https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches
Expand Down
4 changes: 2 additions & 2 deletions schema/frogbot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@
"type": "array",
"title": "Path Exclusions Patterns",
"description": "List of exclusion patterns (utilizing wildcards) for excluding paths in the source code of the Git repository during SCA scans.",
"default": ["*node_modules*", "*target*", "*venv*", "*test*"],
"default": ["*.git*", "*node_modules*", "*target*", "*venv*", "*test*"],
"items": {
"type": "string",
"title": "Path Exclusion Pattern",
"examples": ["*node_modules*", "*target*", "*venv*", "*test*"]
"examples": ["*.git*", "*node_modules*", "*target*", "*venv*", "*test*"]
}
},
"pipRequirementsFile": {
Expand Down

0 comments on commit ffba68d

Please sign in to comment.