You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Run `socket manifest auto` before collecting manifest files? This would be necessary for languages like Scala, Gradle, and Kotlin, See `socket manifest auto --help`.',
Uploads the specified "package.json" and lock files for JavaScript, Python,
28
-
Go, Scala, Gradle, and Kotlin dependency manifests.
29
-
If any folder is specified, the ones found in there recursively are uploaded.
30
-
31
-
Supports globbing such as "**/package.json", "**/requirements.txt", etc.
32
-
33
-
Ignores any file specified in your project's ".gitignore" and also has a
34
-
sensible set of default ignores from the "ignore-by-default" module.
35
-
36
-
TARGET should be a FILE or DIR that _must_ be inside the CWD.
37
-
38
-
When a FILE is given only that FILE is targeted. Otherwise any eligible
39
-
files in the given DIR will be considered.
40
-
41
-
The --repo and --branch flags tell Socket to associate this Scan with that
42
-
repo/branch. The names will show up on your dashboard on the Socket website.
43
-
44
-
Note: for a first run you probably want to set --defaultBranch to indicate
45
-
the default branch name, like "main" or "master".
46
-
47
-
The "alerts page" (https://socket.dev/dashboard/org/YOURORG/alerts) will show
48
-
the results from the last scan designated as the "pending head" on the branch
49
-
configured on Socket to be the "default branch". When creating a scan the
50
-
--setAsAlertsPage flag will default to true to update this. You can prevent
51
-
this by using --no-setAsAlertsPage. This flag is ignored for any branch that
52
-
is not designated as the "default branch". It is disabled when using --tmp.
53
-
54
27
Options
55
28
--autoManifest Run \`socket manifest auto\` before collecting manifest files? This would be necessary for languages like Scala, Gradle, and Kotlin, See \`socket manifest auto --help\`.
--setAsAlertsPage When true and if this is the "default branch" then this Scan will be the one reflected on your alerts page. See help for details. Defaults to true.
72
45
--tmp Set the visibility (true/false) of the scan in your dashboard.
73
46
47
+
Uploads the specified dependency manifest files for Go, Gradle, JavaScript,
48
+
Kotlin, Python, and Scala. Files like "package.json" and "requirements.txt".
49
+
If any folder is specified, the ones found in there recursively are uploaded.
50
+
51
+
Details on TARGET:
52
+
53
+
- Defaults to the current dir (cwd) if none given
54
+
- Multiple targets can be specified
55
+
- If a target is a file, only that file is checked
56
+
- If it is a dir, the dir is scanned for any supported manifest files
57
+
- Dirs MUST be within the current dir (cwd), you can use --cwd to change it
58
+
- Supports globbing such as "**/package.json", "**/requirements.txt", etc.
59
+
- Ignores any file specified in your project's ".gitignore"
60
+
- Also a sensible set of default ignores from the "ignore-by-default" module
61
+
62
+
The --repo and --branch flags tell Socket to associate this Scan with that
63
+
repo/branch. The names will show up on your dashboard on the Socket website.
64
+
65
+
Note: for a first run you probably want to set --defaultBranch to indicate
66
+
the default branch name, like "main" or "master".
67
+
68
+
The "alerts page" (https://socket.dev/dashboard/org/YOURORG/alerts) will show
69
+
the results from the last scan designated as the "pending head" on the branch
70
+
configured on Socket to be the "default branch". When creating a scan the
71
+
--setAsAlertsPage flag will default to true to update this. You can prevent
72
+
this by using --no-setAsAlertsPage. This flag is ignored for any branch that
73
+
is not designated as the "default branch". It is disabled when using --tmp.
74
+
75
+
You can use \`socket scan setup\` to configure certain repo flag defaults.
0 commit comments