Manage Your Repository
Organize and manage your SBOM repository in Portal
Manage Your Repository
The repository management features in Portal help you organize, maintain, and govern your SBOM collection effectively.
Overview
Repository management enables you to:
- Organize SBOMs into folders and categories
- Set retention policies
- Manage storage and quotas
- Configure access controls
- Maintain SBOM quality
Repository Structure
Hierarchy
Repository
├── Products/
│ ├── Product A/
│ │ ├── v1.0.0 (SBOM)
│ │ ├── v1.1.0 (SBOM)
│ │ └── v2.0.0 (SBOM)
│ └── Product B/
├── Third-Party/
│ ├── Vendor A/
│ └── Vendor B/
├── Internal/
└── Archive/Folders
Create folders to organize SBOMs:
- Navigate to Portal → Repository
- Click + New Folder
- Enter folder name
- Set folder properties
- Click Create
Folder Properties
| Property | Description |
|---|---|
| Name | Folder display name |
| Description | Purpose of folder |
| Parent | Parent folder (for nesting) |
| Access | Who can access |
| Retention | Auto-archive policy |
Managing SBOMs
Uploading SBOMs
Upload new SBOMs to your repository:
- Navigate to target folder
- Click Upload
- Drag files or click Browse
- Enter SBOM metadata
- Click Upload
SBOM Metadata
| Field | Description | Required |
|---|---|---|
| Name | Display name | Yes |
| Version | Version identifier | Yes |
| Product | Associated product | No |
| Description | SBOM description | No |
| Tags | Classification tags | No |
Moving SBOMs
Move SBOMs between folders:
- Select SBOM(s)
- Click Move
- Select destination folder
- Confirm move
Copying SBOMs
Create copies:
- Select SBOM(s)
- Click Copy
- Select destination
- Optionally rename
- Confirm copy
Deleting SBOMs
Remove SBOMs:
- Select SBOM(s)
- Click Delete
- Confirm deletion
Note: Deleted SBOMs are moved to Trash and can be restored within 30 days.
Tagging System
Creating Tags
Set up tags for classification:
- Go to Settings → Tags
- Click + New Tag
- Enter tag name and color
- Save
Applying Tags
Add tags to SBOMs:
- Select SBOM
- Click Tags
- Select applicable tags
- Save
Tag-Based Views
Filter repository by tags:
- Click Filter
- Select tag(s)
- View filtered results
Retention Policies
Policy Types
| Policy | Description |
|---|---|
| Keep All | No automatic deletion |
| Keep Latest N | Keep N most recent versions |
| Time-Based | Delete after X days |
| Archive After | Move to archive after X days |
Setting Retention
Configure retention at folder level:
- Open folder settings
- Go to Retention tab
- Select policy type
- Configure parameters
- Save
Retention Exceptions
Exclude specific SBOMs from retention:
- Open SBOM
- Click Settings
- Enable Exclude from retention
Storage Management
View Storage Usage
Monitor storage consumption:
- Go to Settings → Storage
- View usage summary:
- Total storage used
- Usage by folder
- Largest SBOMs
- Growth trends
Storage Quotas
| Plan | Storage Limit |
|---|---|
| Free | 1 GB |
| Pro | 50 GB |
| Enterprise | Unlimited |
Reducing Storage
Free up storage:
- Delete unused SBOMs
- Archive old versions
- Enable retention policies
- Remove duplicate SBOMs
Bulk Operations
Bulk Upload
Upload multiple SBOMs:
- Click Bulk Upload
- Select files (ZIP archive supported)
- Map to products/folders
- Review and confirm
- Monitor progress
Bulk Download
Download multiple SBOMs:
- Select SBOMs
- Click Download
- Choose format
- Download archive
Bulk Edit
Edit multiple SBOMs:
- Select SBOMs
- Click Bulk Edit
- Modify common fields
- Apply changes
Access Control
Folder Permissions
Set access at folder level:
| Permission | Capabilities |
|---|---|
| Owner | Full control |
| Editor | Add, modify, delete |
| Viewer | View and download |
| None | No access |
Inheritance
Child folders inherit parent permissions unless overridden.
Sharing Folders
Share folders with team members:
- Open folder settings
- Go to Sharing tab
- Add users/teams
- Set permission level
- Save
Search and Filter
Quick Search
Search within repository:
- Type in search box
- Search by name, tag, metadata
- Results update in real-time
Advanced Filters
| Filter | Options |
|---|---|
| Folder | Specific folder(s) |
| Date | Upload date range |
| Tags | Selected tags |
| Format | CycloneDX, SPDX |
| Compliance | Compliance status |
Saved Searches
Save common searches:
- Apply filters
- Click Save Search
- Name the search
- Access from Saved Searches
Audit Trail
Repository Activity
View repository activity log:
- Go to Repository → Activity
- View recent actions:
- Uploads
- Downloads
- Modifications
- Deletions
Export Audit Log
Export for compliance:
- Click Export
- Select date range
- Choose format
- Download log
API Access
# List repository contents
curl -X GET https://api.safeguard.sh/v1/portal/repository \
-H "Authorization: Bearer $API_KEY"
# Create folder
curl -X POST https://api.safeguard.sh/v1/portal/repository/folders \
-H "Authorization: Bearer $API_KEY" \
-d '{"name": "Products", "parent_id": null}'
# Upload SBOM
curl -X POST https://api.safeguard.sh/v1/portal/repository/sboms \
-H "Authorization: Bearer $API_KEY" \
-F "file=@sbom.json" \
-F "name=My Product" \
-F "version=1.0.0"
# Delete SBOM
curl -X DELETE https://api.safeguard.sh/v1/portal/repository/sboms/{id} \
-H "Authorization: Bearer $API_KEY"Best Practices
Organization
- Create logical folder structure
- Use consistent naming conventions
- Apply tags consistently
- Document folder purposes
Maintenance
- Review storage regularly
- Apply appropriate retention
- Archive old versions
- Clean up duplicates
Security
- Set appropriate permissions
- Review access regularly
- Audit sensitive operations
- Use least privilege