# Identify Obsolete or end of life Operating Systems

**URL:** <https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907>\
**Category:** Query Builder\
**Tags:** queries\
**Created:** [August 30, 2023, 3:30pm UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907 "2023-08-30T15:30:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsilva2](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/cdc98d/32.png) [@jsilva2](https://discuss.rapid7.com/u/jsilva2)\
**Post date:** [August 30, 2023, 3:30pm UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/1 "2023-08-30T15:30:14Z")

</div>

Would like to figure out how I can build a query to find end of life operating systems.

---

<div class="post-metadata">

**Author:** ![zsoc](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/z/48db29/32.png) [@zsoc](https://discuss.rapid7.com/u/zsoc)\
**Post date:** [August 30, 2023, 8:07pm UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/2 "2023-08-30T20:07:05Z")

</div>

Try checking the built-in card for ‘assets running obsolete operating systems’ on the ‘Assets Dashboard’ on the portal. You can get more details by clicking on the card.

---

<div class="post-metadata">

**Author:** ![csingapanga](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@csingapanga](https://discuss.rapid7.com/u/csingapanga)\
**Post date:** [August 30, 2023, 9:00pm UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/3 "2023-08-30T21:00:15Z")

</div>

```auto
select
    distinct ip_address,
    host_name,
    sites,
    last_assessed_for_vulnerabilities,
    dos.name || ' - ' || version os_version
from
    fact_asset_vulnerability_finding favf
    JOIN dim_vulnerability_category dvc using (vulnerability_id)
    JOIN dim_asset da USING (asset_id)
    JOIN dim_asset_operating_system daos using (asset_Id)
    JOIN dim_operating_system dos on dos.operating_system_Id = daos.operating_system_id
where
    dvc.category_name = 'Obsolete OS'
order by
    ip_address

```

---

<div class="post-metadata">

**Author:** ![nnielsen](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nnielsen](https://discuss.rapid7.com/u/nnielsen)\
**Post date:** [August 31, 2023, 9:03am UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/4 "2023-08-31T09:03:36Z")

</div>

Would it be be possible to construct a query to show impending obsolete software, e.g. OSs becoming obsolete/EOS/EOL in the next 3-6 months?

---

<div class="post-metadata">

**Author:** ![mmur\_gt4e](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/mmur_gt4e/32/1985_2.png) [@mmur\_gt4e](https://discuss.rapid7.com/u/mmur_gt4e)\
**Post date:** [August 31, 2023, 11:37am UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/5 "2023-08-31T11:37:02Z")

</div>

Hi, maybe you could make a script to get your assets OS and then be checked in the internet or in an own database or file where this dates are avaliable and compare them, then you could get that.

---

<div class="post-metadata">

**Author:** ![nnielsen](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nnielsen](https://discuss.rapid7.com/u/nnielsen)\
**Post date:** [August 31, 2023, 11:47am UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/6 "2023-08-31T11:47:06Z")

</div>

Thank you for your suggestion, mmur\_gt4e 🙂

Checking internet resources would be tedious if Rapid7 InsightVM can do the job.  
If it currently can’t, then Rapid7 can consider this a feature request.

---

<div class="post-metadata">

**Author:** ![kevin\_mccabe](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/k/9e8a1a/32.png) [@kevin\_mccabe](https://discuss.rapid7.com/u/kevin_mccabe)\
**Post date:** [August 31, 2023, 12:13pm UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/7 "2023-08-31T12:13:00Z")

</div>

This is a really good feature request, and something we see a lot of value in.

Currently, the behaviour of InsightVM is to asses your current state with known vulnerabilities (including obsolete systems). It is not designed to deal with a potential future state, which would be the case here.

We would, however, like to add this feature in the future, however this would require a fundamental change in our current approach, and is not something that could be actioned anytime soon.

---

<div class="post-metadata">

**Author:** ![nnielsen](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nnielsen](https://discuss.rapid7.com/u/nnielsen)\
**Post date:** [September 1, 2023, 9:34am UTC](https://discuss.rapid7.com/t/identify-obsolete-or-end-of-life-operating-systems/26907/8 "2023-09-01T09:34:10Z")

</div>

Thank you for considering the suggestion. Would it be a feasible solution to add something like a ‘Query Date’ parameter instead of always assuming a default ‘Now’?

Similarly, such a parameter could be used to check if a vulnerability was known at a particular time, although I cannot see a pressing use case for this.
