diff --git a/spec/samples/common/models/wp_plugin/vulnerable/plugins.json b/spec/samples/common/models/wp_plugin/vulnerable/plugins.json new file mode 100644 index 000000000..25159019f --- /dev/null +++ b/spec/samples/common/models/wp_plugin/vulnerable/plugins.json @@ -0,0 +1,60 @@ +[ + { + "name": "mr-smith", + "vulnerabilities":[ + { + "id":2993, + "title":"I should not appear in the results", + "references": { + "url":"Ref 1,Ref 2", + "osvdb":"osvdb", + "cve":"2011-001", + "secunia":"secunia", + "metasploit":"exploit/ex1", + "exploitdb":"exploitdb" + }, + "type":"XSS", + "fixed_in":"", + "created_at":"2014-07-28T12:10:07.000Z", + "updated_at":"2014-07-28T12:10:07.000Z" + }, + { + "id":2989, + "title":"Neither do I", + "references": { + "url":"Ref 1,Ref 2", + "osvdb":"osvdb", + "cve":"2011-001", + "secunia":"secunia", + "metasploit":"exploit/ex1", + "exploitdb":"exploitdb" + }, + "type":"XSS", + "fixed_in":"", + "created_at":"2014-07-28T12:10:07.000Z", + "updated_at":"2014-07-28T12:10:07.000Z" + } + ] + }, + { + "name": "white-rabbit", + "vulnerabilities": [ + { + "id":2993, + "title":"Follow me!", + "references": { + "url":"Ref 1,Ref 2", + "osvdb":"osvdb", + "cve":"2011-001", + "secunia":"secunia", + "metasploit":"exploit/ex1", + "exploitdb":"exploitdb" + }, + "type":"REDIRECT", + "fixed_in":"", + "created_at":"2014-07-28T12:10:07.000Z", + "updated_at":"2014-07-28T12:10:07.000Z" + } + ] + } +]