Skip to content

Commit

Permalink
CM-41056 - Add support for Swift Package Manager (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Oct 21, 2024
1 parent f6c6543 commit 68ad6c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cycode/cli/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
'.model',
)

SCA_CONFIGURATION_SCAN_SUPPORTED_FILES = (
SCA_CONFIGURATION_SCAN_SUPPORTED_FILES = ( # keep in lowercase
'cargo.lock',
'cargo.toml',
'composer.json',
Expand Down Expand Up @@ -82,6 +82,8 @@
'setup.py',
'mix.exs',
'mix.lock',
'package.swift',
'package.resolved',
)

SCA_EXCLUDED_PATHS = ('node_modules',)
Expand All @@ -101,6 +103,7 @@
'pypi_requirements': ['requirements.txt'],
'pypi_setup': ['setup.py'],
'hex': ['mix.exs', 'mix.lock'],
'swift_pm': ['Package.swift', 'Package.resolved'],
}

COMMIT_RANGE_SCAN_SUPPORTED_SCAN_TYPES = [SECRET_SCAN_TYPE, SCA_SCAN_TYPE]
Expand Down

0 comments on commit 68ad6c8

Please sign in to comment.