[GH-ISSUE #1201] Get list all installed software. #2684

Closed
opened 2026-03-14 05:05:26 +03:00 by kerem · 7 comments
Owner

Originally created by @Nzrvynnyk on GitHub (Jul 7, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1201

Hello! I think it would be great to be able to create a separate report to check installed software. this applies not only to installed programs but also to the kernel and operating system.
And for bulk scenarios, save the results in some custom files. or send the results by mail.

Originally created by @Nzrvynnyk on GitHub (Jul 7, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1201 Hello! I think it would be great to be able to create a separate report to check installed software. this applies not only to installed programs but also to the kernel and operating system. And for bulk scenarios, save the results in some custom files. or send the results by mail.
kerem closed this issue 2026-03-14 05:05:31 +03:00
Author
Owner

@BMTTeam commented on GitHub (Jul 7, 2022):

I needed that last week. At the end I did it manually for 200. Exporting CSV file for each device.
If there is a hint or example how to use the API would be great.

<!-- gh-comment-id:1178047302 --> @BMTTeam commented on GitHub (Jul 7, 2022): I needed that last week. At the end I did it manually for 200. Exporting CSV file for each device. If there is a hint or example how to use the API would be great.
Author
Owner

@Nzrvynnyk commented on GitHub (Jul 7, 2022):

Oh, yep and I need this, I have over 800+ agents and I think it would be great to have options for creating some kinds of reports. inside Tactical or API.

<!-- gh-comment-id:1178062469 --> @Nzrvynnyk commented on GitHub (Jul 7, 2022): Oh, yep and I need this, I have over 800+ agents and I think it would be great to have options for creating some kinds of reports. inside Tactical or API.
Author
Owner

@wh1te909 commented on GitHub (Jul 7, 2022):

reporting feature is still a WIP
I can provide an example of how to do this via API in a bit, working on a new release atm

<!-- gh-comment-id:1178075141 --> @wh1te909 commented on GitHub (Jul 7, 2022): reporting feature is still a WIP I can provide an example of how to do this via API in a bit, working on a new release atm
Author
Owner

@Nzrvynnyk commented on GitHub (Jul 7, 2022):

It would be great to have examples for API.
Like: hostname and software list.

<!-- gh-comment-id:1178086392 --> @Nzrvynnyk commented on GitHub (Jul 7, 2022): It would be great to have examples for API. Like: hostname and software list.
Author
Owner

@silversword411 commented on GitHub (Jul 7, 2022):

There is a management command for listing software that matches x

https://docs.tacticalrmm.com/management_cmds/#find-all-agents-that-have-x-software-installed

I'm looking for lots of API examples to add to the docs. Please post/share anything you come up with.

<!-- gh-comment-id:1178196294 --> @silversword411 commented on GitHub (Jul 7, 2022): There is a management command for listing software that matches x https://docs.tacticalrmm.com/management_cmds/#find-all-agents-that-have-x-software-installed I'm looking for lots of API examples to add to the docs. Please post/share anything you come up with.
Author
Owner

@wh1te909 commented on GitHub (Jul 8, 2022):

example of how to do it in python:

import requests

API = "https://api.example.com"
HEADERS = {
    "Content-Type": "application/json",
    "X-API-KEY": "9SI43IFUMPEVRWOZR4NC8PGP4ZLA9PYX",
}


def get_software():
    agents = requests.get(f"{API}/agents/?detail=false", headers=HEADERS)  # get a list of all agents
    for agent in agents.json():  # loop thru all agents and print list of installed software
        r = requests.get(f"{API}/software/{agent['agent_id']}/", headers=HEADERS)
        print(r.json())

if __name__ == "__main__":
    get_software()
<!-- gh-comment-id:1178397649 --> @wh1te909 commented on GitHub (Jul 8, 2022): example of how to do it in python: ```python import requests API = "https://api.example.com" HEADERS = { "Content-Type": "application/json", "X-API-KEY": "9SI43IFUMPEVRWOZR4NC8PGP4ZLA9PYX", } def get_software(): agents = requests.get(f"{API}/agents/?detail=false", headers=HEADERS) # get a list of all agents for agent in agents.json(): # loop thru all agents and print list of installed software r = requests.get(f"{API}/software/{agent['agent_id']}/", headers=HEADERS) print(r.json()) if __name__ == "__main__": get_software() ```
Author
Owner

@Nzrvynnyk commented on GitHub (Jul 8, 2022):

Thank you )

<!-- gh-comment-id:1178705628 --> @Nzrvynnyk commented on GitHub (Jul 8, 2022): Thank you )
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2684
No description provided.