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
The following command provides the capability to search the SCANOSS KB for development status information of Open Source components:
525
+
```bash
526
+
scanoss-py comp status -p "pkg:npm/react@17.0.2"
527
+
```
528
+
It is possible to supply multiple PURLs by repeating the `-p pkg` option, or providing a purl input file `-i purl-input.json` ([for example](tests/data/purl-input.json)):
529
+
```bash
530
+
scanoss-py comp status -i purl-input.json -o component-status.json
531
+
```
532
+
533
+
The status command also supports CycloneDX (CDX) input files. You can provide a CycloneDX SBOM file and retrieve status information for all components:
534
+
```bash
535
+
scanoss-py comp status -i cyclonedx-sbom.json -o component-status.json
536
+
```
537
+
538
+
The component status provides information about:
539
+
- **Component status**: Overall status of the component (active, inactive, deprecated)
540
+
- **Repository status**: Current status of the component's repository
541
+
- **First indexed date**: When the component was first indexed in SCANOSS KB
542
+
- **Last indexed date**: Most recent indexing date
543
+
- **Version status**: Status specific to the requested version
544
+
- **Indexed date**: When the specific version was indexed
545
+
521
546
### CDX Input Support for Component Commands
522
547
Several component commands now support CycloneDX (CDX) input files. This allows you to analyze components from existing SBOM files:
523
548
524
549
**Supported commands with CDX input:**
525
550
- `comp vulns` - Analyze vulnerabilities from CDX file
526
-
- `comp licenses` - Retrieve licenses from CDX file
551
+
- `comp licenses` - Retrieve licenses from CDX file
527
552
- `comp crypto` - Detect cryptographic algorithms from CDX file
528
553
- `comp semgrep` - Find semgrep issues from CDX file
554
+
- `comp status` - Retrieve development status from CDX file
0 commit comments