fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.15k stars 432 forks source link

Feat UI creat policies fleet apps title details #23972

Open ghernandez345 opened 1 day ago

ghernandez345 commented 1 day ago

relates to #23137, #23136

implements to the rest of the UI for automatically creating fleet policies when adding a fleet maintained app. Also includes the API changes needed for this which include changing the GET /software/titles and GET /software/titles/:id endpoints to include the automatic_install_policies data.

UI added includes:

Adding tag for automatic install software titles

image

Adding modal to show the policies associated with that software title

image

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 63.38%. Comparing base (4a7654f) to head (c156061). Report is 12 commits behind head on feat-create-policies-from-fleet-apps.

Files with missing lines Patch % Lines
...Titles/SoftwareTable/SoftwareTitlesTableConfig.tsx 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feat-create-policies-from-fleet-apps #23972 +/- ## ======================================================================== - Coverage 63.39% 63.38% -0.01% ======================================================================== Files 1579 1581 +2 Lines 149918 149933 +15 Branches 3730 3772 +42 ======================================================================== - Hits 95044 95042 -2 - Misses 47302 47315 +13 - Partials 7572 7576 +4 ``` | [Flag](https://app.codecov.io/gh/fleetdm/fleet/pull/23972/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | Coverage Δ | | |---|---|---| | [frontend](https://app.codecov.io/gh/fleetdm/fleet/pull/23972/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | `52.54% <0.00%> (-0.02%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: