Include notes on when automations won't run for a given host in software and script automation UIs (#25453)

For #25452.

- [x] Manual QA for all new/changed functionality
This commit is contained in:
Ian Littman 2025-01-15 16:24:10 -06:00 committed by GitHub
parent 70096e86ac
commit f5c3cfc6c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 5 deletions

View file

@ -284,8 +284,11 @@ const InstallSoftwareModal = ({
)}
</ul>
<span className="form-field__help-text">
Selected software, if compatible with the host, will be installed
when hosts fail the chosen policy.{" "}
If compatible with the host, the selected software will be installed
when hosts fail the policy. App Store apps will not be installed if
hosts are not enrolled in MDM, or if no VPP licenses are available
for the app. If custom targets are enabled and a host with a failing
policy is <b>not</b> targeted, installation will be skipped.{" "}
<CustomLink
url="https://fleetdm.com/learn-more-about/policy-automation-install-software"
text="Learn more"

View file

@ -1,5 +1,10 @@
.manage-policies-page {
.install-software-modal {
.form-field__help-text {
font-size: 14px;
line-height: 21px;
}
.form-field--dropdown {
width: 276px;
.Select-placeholder {

View file

@ -210,12 +210,14 @@ const PolicyRunScriptModal = ({
)}
</ul>
<span className="form-field__help-text">
Selected script, if{" "}
If{" "}
<TooltipWrapper tipContent={compatibleTipContent}>
compatible
</TooltipWrapper>{" "}
with the host, will run when hosts fail the policy. Host counts will
reset when a new script is selected.{" "}
with the host, the selected script will run when hosts fail the
policy. The script will not run on hosts with scripts disabled, or
on hosts with too many pending scripts. Host counts will reset when
new scripts are selected.{" "}
<CustomLink
url="https://fleetdm.com/learn-more-about/policy-automation-run-script"
text="Learn more"

View file

@ -1,5 +1,10 @@
.manage-policies-page {
.policy-run-script-modal {
.form-field__help-text {
font-size: 14px;
line-height: 21px;
}
.form-field--dropdown {
width: 276px;
.Select-placeholder {