Skip to content

Commit

Permalink
Fix wrong OSSIndex reference hyperlink. sonatype-nexus-community#33
Browse files Browse the repository at this point in the history
  • Loading branch information
allisterb committed Feb 3, 2020
1 parent 3ef88e0 commit ffdf209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private IEnumerable<VulnerabilityTask> GetVulnerabilityTasks(IEnumerable<Project
{
Priority = affecting ? TaskPriority.Normal : TaskPriority.Low,
ErrorCategory = affecting ? TaskErrorCategory.Error : TaskErrorCategory.Message,
Text = string.Format("{0}: {1}\nReference: https://ossindex.sonatype.org/resource/vulnerability/{2}\n{3}", packageReference.PackageId, vulnerability.Title, vulnerability.Id, vulnerability.Description),
Text = string.Format("{0}: {1}\nReference: https://ossindex.sonatype.org/vuln/{2}\n{3}", packageReference.PackageId, vulnerability.Title, vulnerability.Id, vulnerability.Description),
HierarchyItem = projectHierarchy,
Category = TaskCategory.Misc,
Document = packageReference.File,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Audit.Net.OSSIndex.747b4e5e-2181-432b-bc9c-5f196551e328" Version="3.4.0" Language="en-US" Publisher="Sonatype OSS Index" />
<Identity Id="Audit.Net.OSSIndex.747b4e5e-2181-432b-bc9c-5f196551e328" Version="3.4.1" Language="en-US" Publisher="Sonatype OSS Index" />
<DisplayName>Audit.Net</DisplayName>
<Description xml:space="preserve">Detects security vulnerabilities in installed NuGet packages using data from Sonatype OSS Index.</Description>
<MoreInfo>http://ossindex.sonatype.org/</MoreInfo>
<License>License.txt</License>
<ReleaseNotes>Fix bug in reading packages from .NET Sdk-style projects.</ReleaseNotes>
<Icon>Resources\sonatype64x64.png</Icon>
<PreviewImage>Resources\logo-200x200-2.png</PreviewImage>
</Metadata>
Expand Down

0 comments on commit ffdf209

Please sign in to comment.