Difference between revisions of "Template:Infobox bug/sandbox"
imported>BrandonXLF |
imported>BrandonXLF (Undid revision 899603468 by BrandonXLF (talk)) |
||
| Line 8: | Line 8: | ||
| caption3 = {{{screenshot caption|}}} | | caption3 = {{{screenshot caption|}}} | ||
| label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] | | label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] | ||
| − | | data1 = {{#if:{{{CVE|{{{cve|}}}}}}|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace= | + | | data1 = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1] [https://nvd.nist.gov/vuln/detail/%1 (NVD)]|plain=false}}}}}} |
| label3 = [[Common Vulnerability Scoring System#Version 2|CVSS v3]] | | label3 = [[Common Vulnerability Scoring System#Version 2|CVSS v3]] | ||
| label4 = Date discovered | | label4 = Date discovered | ||
Revision as of 04:12, 31 May 2019
| This is the template sandbox page for Template:Infobox bug (diff). |
| This template uses Lua: |
This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.
Parameters
Template:Parameter names example
| Template:Pre2 | Template:Pre2 |
Examples
| CVE identifier | |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | OpenSSL (1.0.1) |
| Website | Template:URL |
| CVSS v2 | |
| Base score | 5 |
| Impact score | 2.9 |
| Exploitability score | 10 |
| Attack vector | Network |
| Attack complexity | Low |
| Authentication | None |
| Confidentiality | Network |
| Integrity | None |
| Availability | None |
| Template:Pre2 |
![]() A simple Shellshock logo, similar to the Heartbleed bug logo | |
| CVE identifiers | |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | GNU Bash (1.0.3–2.05b) |
| Template:Pre2 |
Template data
Used to add an infobox to article about software bugs, vulnerabilities and security bugs.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the bug
| Page | optional |
| Logo | logo | The logo of the bug
| File | suggested |
| Logo size | logo size | The size of the logo
| Number | optional |
| Logo alt | logo alt | Alternate text for the logo | String | optional |
| Logo caption | logo caption | Caption for the logo
| String | optional |
| Image | image | The image of the bug
| File | optional |
| Image size | image size | The size of the image
| Number | optional |
| Image alt | image alt | Alternate text for the image | String | optional |
| Image caption | image caption | Caption for the image | String | optional |
| Screenshot | screenshot | The screenshot of the bug
| File | suggested |
| Screenshot size | screenshot size | The size of the screenshot
| Number | optional |
| Screenshot alt | screenshot alt | Alternate text for the screenshot | String | optional |
| Screenshot caption | screenshot caption | Caption for the screenshot | String | optional |
| CVE identification(s) | CVE cve | Common Vulnerabilities and Exposures (CVE) identification(s) for the bug
| String | suggested |
| Discovery date | discovered | Year and/or date of discovery
| Date | suggested |
| Patch date | patched | Year and/or date of patch release
| Date | suggested |
| Discovered by | discovered by | Discoverer of the bug
| String | optional |
| Affected hardware | affected hardware | Hardware affected by the bug
| String | optional |
| Affected software | affected software | Software affected by the bug
| String | optional |
| Used by | used by | Know groups/people who use(d) the exploit | String | optional |
| Website | website | Website for the bug
| URL | suggested |
Tracking category
See also
- Template:Virusbox for viruses (sometimes referred to as bugs)
- Template:Taxobox (Template:Automatic taxobox) for viruses, bacteria and small insects (sometimes referred to as bugs)
| The above documentation is transcluded from Template:Infobox bug/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |
