feat(sast): Android and iOS app analysis with mobsfscan (#442)
This commit was merged in pull request #442.
This commit is contained in:
1 parent
82736a1eec
commit
a9ca31d60c
29 files changed
+964
-15
No files matched your search
@@ -0,0 +1,18 @@
|
||||
"""Run mobsfscan without its default path ignores.
|
||||
|
||||
libsast skips every file whose path merely contains an ignored name, and
|
||||
mobsfscan's defaults include 'spec' and 'fixtures', so a customer's code under
|
||||
`inspection/` or `specs/` would silently go unscanned. Prüfwerk passes its own
|
||||
ignores with `-c`, anchored as `/name/`. mobsfscan itself is used unchanged
|
||||
(LGPL-3.0); this file only adjusts its settings before starting it.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
import mobsfscan.settings as settings
|
||||
|
||||
settings.IGNORE_PATHS.clear()
|
||||
|
||||
from mobsfscan.__main__ import main # noqa: E402
|
||||
|
||||
sys.exit(main())
|
||||
Reference in new issue
Block a user