Browse Source

Updates new customer and portal waf notes

Brad Poulton 4 years ago
parent
commit
48d0cdee6d
2 changed files with 8 additions and 1 deletions
  1. 4 1
      New Customer Setup Notes - GovCloud.md
  2. 4 0
      Portal WAF Notes.md

+ 4 - 1
New Customer Setup Notes - GovCloud.md

@@ -727,9 +727,10 @@ Manually setup the 100 GB drives for the two syslog servers.
 
 ```
 CUSTOMERLOC=<customer location grain>
-#Alternate: salt -C '${CUSTOMERPREFIX}*syslog* and G@location:${CUSTOMERLOC}'
+#Alternate: salt -C "${CUSTOMERPREFIX}*syslog* and G@location:${CUSTOMERLOC}"
 #find the drive name
 salt ${CUSTOMERPREFIX}-splunk-syslog-\* cmd.run 'lsblk | grep 100G'
+salt ${CUSTOMERPREFIX}-splunk-syslog-\* cmd.run 'df -hT'
 CUSTOMERDRIVE=<drivename>
 salt ${CUSTOMERPREFIX}-splunk-syslog-\* cmd.run "lsblk /dev/${CUSTOMERDRIVE}"
 salt ${CUSTOMERPREFIX}-splunk-syslog-\* lvm.pvcreate /dev/${CUSTOMERDRIVE}
@@ -738,6 +739,7 @@ salt ${CUSTOMERPREFIX}-splunk-syslog-\* lvm.lvcreate lv_syslog vg_syslog extents
 salt ${CUSTOMERPREFIX}-splunk-syslog-\* cmd.run 'mkfs -t xfs /dev/vg_syslog/lv_syslog'
 salt ${CUSTOMERPREFIX}-splunk-syslog-\* partition.list /dev/${CUSTOMERDRIVE}
 ```
+Add the syslog state to the highstate for the customer and apply highstate. 
 
 ## Configure the Customer LCP Git Repository 
 
@@ -821,6 +823,7 @@ This is notification that the ${CUSTOMERPREFIX} LCP servers are ready for Feed M
 
 Successfully Completed Tasks
 - Salt highstate completed successfully
+- Splunk and syslog-ng installed successfully
 - Servers fully patched and rebooted successfully
 - Servers sending logs to Splunk customer slice successfully
 - Servers sending logs to Splunk Moose successfully

+ 4 - 0
Portal WAF Notes.md

@@ -45,6 +45,10 @@ HTTP method matches exactly to: "post" after converting to lowercase.
 /complete/saml
 
 TEST
+
+TO VIEW THE COOKIE IN CHROME
+Dev tools > Application > Cookies > portal cookie > csrftoken
+Size restrctions are different for POST and GET methods!!
 test is using set-cookie
 Csrftoken cookie is size 172
 csrftoken=0aHJ5IjG7jegZikOds5IFWRya2k60UuN7qvyqAXsJ4W2DkwKdr1e8oguzwywmgS3; expires=Wed, 03 Feb 2021 16:28:19 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax; Secure