github.com/anchore/syft@v1.38.2/syft/pkg/wordpress.go (about)

     1  package pkg
     2  
     3  // WordpressPluginEntry represents all metadata parsed from the wordpress plugin file
     4  type WordpressPluginEntry struct {
     5  	// PluginInstallDirectory is directory name where the plugin is installed
     6  	PluginInstallDirectory string `mapstructure:"pluginInstallDirectory" json:"pluginInstallDirectory"`
     7  
     8  	// Author is plugin author name
     9  	Author string `mapstructure:"author" json:"author,omitempty"`
    10  
    11  	// AuthorURI is author's website URL
    12  	AuthorURI string `mapstructure:"authorUri" json:"authorUri,omitempty"`
    13  }