Skip to content

Commit 0705309

Browse files
authored
fix(source-sync): Update missing source defaults (google#3704)
Missing defaults are causing some fields not to be propagated to the SourceRepository Datastore entity.
1 parent a00cf71 commit 0705309

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/sourcerepo-sync/source_repo_default.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
bucket:
55
# Whether to detect cherypicks or not (slow for large repos).
66
detect_cherrypicks: false
7+
# Whether to consider all branches when analyzing GIT ranges.
8+
consider_all_branches: false
9+
# DB prefix, as reserved in ossf. https://ossf.github.io/osv-schema/#id-modified-fields
10+
db_prefix: []
711
# Vulnerability data not under this path is ignored by the importer.
812
directory_path:
913
# Whether this repository is editable.
@@ -35,6 +39,8 @@
3539
# The API endpoint for SourceRepositoryType.REST_ENDPOINT that
3640
# returns all of the vulnerability files to be updated (minimum id and modified dates)
3741
rest_api_url: null
42+
# Apply strict validation (JSON Schema + linter checks) to this source.
43+
strict_validation: False
3844
# SourceRepositoryType - 0 for git, 1 for GCS, 2 for REST API
3945
type: 0
4046
# Whether to populate "affected[].versions" from Git ranges.

0 commit comments

Comments
 (0)