Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .git to default exclusions patterns #571

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading