From 030c7cc8bfce8c3242e56ac60dd0d72ce3b07f1e Mon Sep 17 00:00:00 2001 From: yahavi Date: Thu, 9 Nov 2023 13:56:54 +0200 Subject: [PATCH] Add .git to exclusions patterns --- docs/templates/jfrog-pipelines/pipelines-dotnet.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-go.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-gradle.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-maven.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-npm.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-pip.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-pipenv.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-poetry.yml | 4 ++-- docs/templates/jfrog-pipelines/pipelines-yarn2.yml | 4 ++-- schema/frogbot-schema.json | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/templates/jfrog-pipelines/pipelines-dotnet.yml b/docs/templates/jfrog-pipelines/pipelines-dotnet.yml index 60e222507..43f84c715 100644 --- a/docs/templates/jfrog-pipelines/pipelines-dotnet.yml +++ b/docs/templates/jfrog-pipelines/pipelines-dotnet.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-go.yml b/docs/templates/jfrog-pipelines/pipelines-go.yml index 3e66d800d..24d4f2823 100644 --- a/docs/templates/jfrog-pipelines/pipelines-go.yml +++ b/docs/templates/jfrog-pipelines/pipelines-go.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-gradle.yml b/docs/templates/jfrog-pipelines/pipelines-gradle.yml index 61a02ff7f..afec547c5 100644 --- a/docs/templates/jfrog-pipelines/pipelines-gradle.yml +++ b/docs/templates/jfrog-pipelines/pipelines-gradle.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-maven.yml b/docs/templates/jfrog-pipelines/pipelines-maven.yml index cd91918d9..6dc5250cb 100644 --- a/docs/templates/jfrog-pipelines/pipelines-maven.yml +++ b/docs/templates/jfrog-pipelines/pipelines-maven.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-npm.yml b/docs/templates/jfrog-pipelines/pipelines-npm.yml index bd1d0d87a..98086d254 100644 --- a/docs/templates/jfrog-pipelines/pipelines-npm.yml +++ b/docs/templates/jfrog-pipelines/pipelines-npm.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-pip.yml b/docs/templates/jfrog-pipelines/pipelines-pip.yml index 3c44df5aa..de4c47628 100644 --- a/docs/templates/jfrog-pipelines/pipelines-pip.yml +++ b/docs/templates/jfrog-pipelines/pipelines-pip.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-pipenv.yml b/docs/templates/jfrog-pipelines/pipelines-pipenv.yml index a6d514f40..5f463f7b7 100644 --- a/docs/templates/jfrog-pipelines/pipelines-pipenv.yml +++ b/docs/templates/jfrog-pipelines/pipelines-pipenv.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-poetry.yml b/docs/templates/jfrog-pipelines/pipelines-poetry.yml index 04be82114..fa78264b7 100644 --- a/docs/templates/jfrog-pipelines/pipelines-poetry.yml +++ b/docs/templates/jfrog-pipelines/pipelines-poetry.yml @@ -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 diff --git a/docs/templates/jfrog-pipelines/pipelines-yarn2.yml b/docs/templates/jfrog-pipelines/pipelines-yarn2.yml index 37fded390..bd8652aeb 100644 --- a/docs/templates/jfrog-pipelines/pipelines-yarn2.yml +++ b/docs/templates/jfrog-pipelines/pipelines-yarn2.yml @@ -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 diff --git a/schema/frogbot-schema.json b/schema/frogbot-schema.json index e41a7162b..048453b4d 100644 --- a/schema/frogbot-schema.json +++ b/schema/frogbot-schema.json @@ -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": {