CloudFrontier
CloudFrontier copied to clipboard
Vulnerabilities API fix
Fixed to return the list of vulnerabilities (vulns) instead of the last vulnerability (vuln) in vulnerabilities.py
The following code in the frontend can also be updated now:
https://github.com/riskprofiler/CloudFrontier/blob/490b2c0dc22f42dd0b10b0acf3e3e21e09dacb9c/frontend/src/components/internetAssets.vue#L653-L666
If I'm not wrong, then all of the above can be replaced with just:
this.vulnerabilities = vulnerabilities.data.data.vulnerabilities;