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
* Fix SBOM team permission handling
- Include team information in SBOM analyze metadata
- Add test coverage for team-scoped permissions
- Update documentation to clarify team permission behavior
This change allows users with team-scoped permissions to use
fossa sbom analyze --team when they are members of the specified team,
matching the behavior of fossa analyze --team.
* delete test file because this is technically already tested
* add changelog
---------
Co-authored-by: ryan link <[email protected]>
Co-authored-by: Zachary LaVallee <[email protected]>
Copy file name to clipboardExpand all lines: Changelog.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# FOSSA CLI Changelog
2
2
3
+
## 3.9.45
4
+
- Preflight: Fix a bug where the preflight checks fail for SBOM team analysis ([#1499](https://github.com/fossas/fossa-cli/pull/1499))
5
+
3
6
## 3.9.44
4
7
- Preflight: Fix a bug where the preflight check could fail if you ran fossa multiple times simultaneously ([#1498](https://github.com/fossas/fossa-cli/pull/1498))
|`--team 'team name'`|`-T`| Specify a team within your FOSSA organization |
26
+
|`--team 'team name'`|`-T`| Specify a team within your FOSSA organization. If you only have team-scoped permissions, you must specify a team of which you are a member.|
27
27
|`--force-rescan`|| Force the SBOM file to be rescanned, even if this exact revision has been previously uploaded |
28
28
29
+
### Team Permissions
30
+
31
+
When using `fossa sbom analyze`, the command respects team-scoped permissions:
32
+
- If you have organization-wide permissions, you can upload SBOMs without specifying a team
33
+
- If you only have team-scoped permissions, you must use the `--team` flag to specify a team of which you are a member
34
+
- The behavior matches that of `fossa analyze --team`
35
+
29
36
## `fossa sbom test <path to sbom file>`
30
37
31
38
The `sbom test` command checks whether the most-recent scan of your FOSSA project raised license-policy or vulnerability issues. This command is usually run immediately after `fossa sbom analyze`.
0 commit comments