|
503 | 503 | </div> |
504 | 504 |
|
505 | 505 |
|
506 | | - {% for severity in severities %} |
507 | | - {% if severity.scoring_system == 'epss' %} |
508 | | - <div class="tab-div content" data-content="epss"> |
509 | | - <div class="has-text-weight-bold tab-nested-div ml-1 mb-1 mt-1"> |
510 | | - Exploit Prediction Scoring System |
511 | | - </div> |
512 | | - <table class="table vcio-table width-100-pct mt-2"> |
| 506 | + <div class="tab-div content" data-content="epss"> |
| 507 | + {% if epss_data %} |
| 508 | + <div class="has-text-weight-bold tab-nested-div ml-1 mb-1 mt-1"> |
| 509 | + Exploit Prediction Scoring System (EPSS) |
| 510 | + </div> |
| 511 | + <table class="table vcio-table width-100-pct mt-2"> |
513 | 512 | <tbody> |
514 | 513 | <tr> |
515 | 514 | <td class="two-col-left"> |
516 | 515 | <span class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left" |
517 | | - data-tooltip="the percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score"> |
518 | | - Percentile |
| 516 | + data-tooltip="The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score"> |
| 517 | + Percentile |
519 | 518 | </span> |
520 | 519 | </td> |
521 | | - <td class="two-col-right">{{ severity.scoring_elements }}</td> |
| 520 | + <td class="two-col-right">{{ epss_data.percentile }}</td> |
522 | 521 | </tr> |
523 | | - |
524 | 522 | <tr> |
525 | 523 | <td class="two-col-left"> |
526 | 524 | <span class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left" |
527 | | - data-tooltip="the EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days (following score publication)"> |
528 | | - EPSS score |
| 525 | + data-tooltip="The EPSS score represents the probability [0-1] of exploitation in the wild in the next 30 days."> |
| 526 | + EPSS Score |
529 | 527 | </span> |
530 | 528 | </td> |
531 | | - <td class="two-col-right">{{ severity.value }}</td> |
| 529 | + <td class="two-col-right">{{ epss_data.score }}</td> |
532 | 530 | </tr> |
533 | | - |
534 | | - {% if severity.published_at %} |
| 531 | + {% if epss_data.published_at %} |
535 | 532 | <tr> |
536 | 533 | <td class="two-col-left"> |
537 | | - <span |
538 | | - class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left" |
539 | | - data-tooltip="When was the time we fetched epss"> |
540 | | - Published at |
| 534 | + <span class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left" |
| 535 | + data-tooltip="Date when the EPSS score was published."> |
| 536 | + Published At |
541 | 537 | </span> |
542 | 538 | </td> |
543 | | - <td class="two-col-right">{{ severity.published_at }}</td> |
| 539 | + <td class="two-col-right">{{ epss_data.published_at }}</td> |
544 | 540 | </tr> |
545 | | - {% endif %} |
546 | | - |
| 541 | + {% endif %} |
547 | 542 | </tbody> |
548 | | - </table> |
| 543 | + </table> |
| 544 | + {% else %} |
| 545 | + <p>No EPSS data available for this vulnerability.</p> |
| 546 | + {% endif %} |
549 | 547 | </div> |
550 | | - {% endif %} |
551 | | - {% empty %} |
552 | | - <div class="tab-div content" data-content="epss"> |
553 | | - <tr> |
554 | | - <td> |
555 | | - There are no EPSS available. |
556 | | - </td> |
557 | | - </tr> |
558 | | - </div> |
559 | | - {% endfor %} |
560 | 548 |
|
561 | 549 | <div class="tab-div content" data-content="history"> |
562 | 550 | <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth"> |
|
0 commit comments