From 502f2c9a38022f22e4e56bc385fbea5fa04ede33 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 19 Apr 2024 17:40:45 -0500 Subject: [PATCH] Website: Update homepage personalization, add note to custom hook. (#18433) Changes: - Updated personalization on the integrations section of the homepage for users with `vm` or `eo-security`. - Added a `FUTURE:` note to the custom hook detailing how to use the platform model to be smarter about sending requests to the Algolia crawler. --- website/api/hooks/custom/index.js | 2 ++ .../integration-logo-ansible-36x36@2x.png | Bin 0 -> 3298 bytes website/views/pages/homepage.ejs | 19 ++++++++++++++---- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 website/assets/images/integration-logo-ansible-36x36@2x.png diff --git a/website/api/hooks/custom/index.js b/website/api/hooks/custom/index.js index 9b2a129c82..c686884144 100644 --- a/website/api/hooks/custom/index.js +++ b/website/api/hooks/custom/index.js @@ -89,6 +89,8 @@ will be disabled and/or hidden in the UI. fromName: sails.config.custom.fromName, }); // Send a request to our Algolia crawler to reindex the website. + // FUTURE: If this breaks again, use the Platform model to store when the website was last crawled + // (platform.algoliaLastCrawledWebsiteAt), and then only send a request if it was <30m ago, then remove dyno check. if(sails.config.environment === 'production' && process.env.DYNO === 'web.1'){ sails.helpers.http.post.with({ url: `https://crawler.algolia.com/api/1/crawlers/${sails.config.custom.algoliaCrawlerId}/reindex`, diff --git a/website/assets/images/integration-logo-ansible-36x36@2x.png b/website/assets/images/integration-logo-ansible-36x36@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..13f3a1a2e9604194c2bc556430c0ac320fe44731 GIT binary patch literal 3298 zcmV<83?1`{P)PdMnMCL4-fJz_A%q*I|p{2J2Q9h z{qDWrKQjc31m|RKNy#vilRrTSj3I*5u?|z->7g1Ohr@k=-8N?R2J48ZwOo&*q$G6GDaua9oa-sicIIaGCApAUkTR zt7{yK7k7eA2)cpL2;>!qBfeFJnP`mpz*#o_;*p>SIB(-&`ftK3s2_2j) zV2m%sZ=47^hprc3B=b{1r9VctvaPG;SQ{Wf1biX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CDpi&gOMsn4ORO&vahvt}c4FCH^m z@hX9H*RMnQH8oi$;4pPYqCUbt(oZ=BD(U7yf_thyiZw@bP>}qg`J@sT1vf!Vv$iJO_U*J*6686nDm+ZSjNe@R|u{Z)qQ!a%*Ac6&*~HXy*s$ zzCH~oimEv=Jlt)$(0%lNL|HVm6Oelvk-$$jHT9Y8Jc7gF&~EA3_nygC6>A=Qy!k~% zvw=wBIR?Y-__(X!ycy|iNx^j6``T3=tEvsTx!bT}eH%dcAOEg{+;|}P?NAfh?rFW} zvJ*+Fi|}8geGb5b4nlX!a>&XxR;$M{->Zz0w`0d-VhY`Xlg8b5Vkme6ljxknoSa@A z!E57EFmvV+#^Gh0)K%EOE5N}DR13fD%{T&mc6NnNTmQ>}d>3JMGA>udK_> z`Cnh#_N(oRUApb+o;;@|kD+QcMFH zPMW)EQ)p;>d=8GlzlOh3CiL=%=Usq!9mPH>!>|51-MSY7Kv2fp^7ibBC0)*Eaq=f< zsPwz{J`W6YnUW$EXc~b3IQUh1Cr0%?J<#z%;khHC5%rp@&!v6=ASaoRv{5@ zEzHfW57v9mbQ!Uox78jmMSyr>I#0a2443&W@p%JUpcO;uBh+y=$Zc)A3g^rT_=QSZ z=z6Q@tnJ&w5~RqK9x7W+60xDA@Dwf%5wXpq}#KJ=4-`vYTN zrNuc}P*O6C^{~mv6C;7sQ7Fufz!hQ`HV)S-LlP*pTtQ
Custom IT workflows + <% if(['vm', 'eo-security'].includes(primaryBuyingSituation)){%> + Kick off automations +

Use git, yaml, webhooks, file carving, vuln feeds, the REST API, and a GUI for security automations

+ <% } else { %> Custom IT workflows

Use git, yaml, webhooks, realtime device access, file carving, vuln feeds, the REST API, and a GUI for IT automation.

+ <% } %>
IT ticketing - IT ticketing + <%- ['vm', 'eo-security'].includes(primaryBuyingSituation) ? 'Case management' : 'IT ticketing'%>

Automate ticketing with Jira, ServiceNow, or integrate your own system.

@@ -155,9 +160,15 @@
- Scripting - Scripting -

Easily connect Munki, Chef, Ansible, and Puppet or deploy your own scripts.

+ <% if(['vm', 'eo-security'].includes(primaryBuyingSituation)){%> + Remediations + Remediations +

Easily connect Ansible, Chef, or deploy your own runbooks to install missing security agents and harden endpoints.

+ <% } else { %> + Scripting + Scripting +

Easily connect Munki, Chef, Ansible, and Puppet or deploy your own scripts.

+ <% } %>