- Newest
- Most votes
- Most comments
I was told my support that 'Inactive' means that no scheduled scans have been defined. On demand scans are working.
answered 10 months ago
To properly activate and run a scan on your GitHub repository using Amazon Inspector Code Security, follow these steps:
-
First, ensure that you've properly activated the Code Security scan type in Amazon Inspector. When you activate Code Security, Amazon Inspector begins scanning your code repositories based on your scan configurations. You can verify this activation in the Amazon Inspector console.
-
After connecting your GitHub repository, you need to create and apply a scan configuration to determine how and when your repository will be scanned. The "Inactive" status suggests that while your repositories are connected, they may not have a proper scan configuration applied.
-
For your on-demand scan, after clicking "On-demand Scan," verify that the scan was actually initiated by checking the "Code repositories" tab. You should see information about how many repositories are being scanned.
-
Amazon Inspector allows you to choose different scan types for repositories:
- On-demand: Initiates an immediate scan
- Change-based: Initiates a scan on push to main branch or on pull/merge requests
- Scheduled: Initiates scans weekly or monthly
- If your repositories remain in an "Inactive" state despite initiating an on-demand scan, you may need to:
- Check if you have the proper permissions to run scans
- Verify that your scan configuration is properly set up
- Ensure that the repository is properly connected and accessible to Amazon Inspector
You can view, edit, or create new scan configurations at any time through the Amazon Inspector console. Make sure your repositories have the appropriate scan configuration applied to activate them for scanning.
Sources
Amazon Inspector Code Security - Amazon Inspector
Activating a scan type - Amazon Inspector
Beyond compute: Shifting vulnerability detection left with Amazon Inspector code security capabilities | AWS Security Blog
answered 10 months ago
from the CLI I can start a scan
E:>aws inspector2 start-code-security-scan --resource projectId="project-c8aec74b-783d-4138-860c-ad428cfca2e8" { "scanId": "a807ea11-5c44-49a2-8785-9a223c25acc9", "status": "IN_PROGRESS" }
However the project still shows as inactive
How do I make it active?
answered 10 months ago
Relevant content
asked a year ago
asked 3 years ago
asked 7 months ago
asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
