Skip to content

Commit 71e4bf9

Browse files
authored
fix(scan): list socket scan reach in help (#1664)
The reach command was marked hidden, so `socket scan --help` never listed it even though it is a supported command. Unhide it and add it to the help snapshot.
1 parent 9577574 commit 71e4bf9

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
88

99
### Changed
1010
- Updated the Coana CLI to v `15.13.1`.
11+
- `socket scan reach` now shows up in `socket scan --help`.
1112

1213
### Fixed
1314
- Reachability analysis of Gradle and sbt builds now sees the code of Kotlin Multiplatform and Android modules, and sbt sources placed directly in a project's directory.

‎src/commands/scan/cmd-scan-reach.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const CMD_NAME = 'reach'
3737

3838
const description = 'Compute full application reachability'
3939

40-
const hidden = true
40+
const hidden = false
4141

4242
// Not in reachabilityFlags: on `scan create` it is a general flag the --reach
4343
// guard must not reject. Reachability is always on here, so the description

‎src/commands/scan/cmd-scan.test.mts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ describe('socket scan', async () => {
3030
diff See what changed between two Scans
3131
list List the scans for an organization
3232
metadata Get a scan's metadata
33+
reach Compute full application reachability
3334
report Check whether a scan result passes the organizational policies (security, license)
3435
setup Start interactive configurator to customize default flag values for \`socket scan\` in this dir
3536
view View the raw results of a scan

0 commit comments

Comments
 (0)