Tasks and Notes for Sandata's legal issue with a course being deleted. Downloaded spark pdf for them.

This commit is contained in:
Norm Rasmussen
2025-09-29 14:42:17 -04:00
parent 06553b93c3
commit 59d577b051
4 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,18 @@
import requests
import pprint
import Apikeys
PP=pprint.PrettyPrinter(indent=4)
COURSEUUID = "2d3d0f6d-5ea4-49b6-9574-f4d563d9f042"
APIKEY = Apikeys.SPARKPROD
URL = f"https://api2.northpass.com/v2/courses/{COURSEUUID}/activities"
HEADERS = { "accept": "*/*",
"x-api-key": APIKEY,
"content-type": "application/json",
}
course_get = requests.get(URL, headers=HEADERS)#.json
print(course_get.status_code)
print(course_get.text)
PP.pprint(course_get)

View File

@ -7,7 +7,7 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe"
// const apiKey = "p5fidpuedHaOlPnd8EcpxzQMG"
// Luminate Production ^
const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241";
const groupIds = ['0c842067-fa16-485d-92f5-50895d3078e4']
const groupIds = ['4835baaf-b332-4b59-8415-fb1c7c385308']
const getAllGroups = async (num) => {
if(num === 1){

View File

@ -8,7 +8,7 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe"
// Luminate Production ^
const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241";
const groupIds = [
'2aed7eac-321f-4ba2-9ee8-7f8c90006459'
'4835baaf-b332-4b59-8415-fb1c7c385308'
]
const getAllGroups = async (num) => {

View File

@ -71,3 +71,14 @@
## Workhuman
- [X] Submit Publishing Request to product. Currently, WH shares direct-to-activtiy links from their community page to showcase certain features. For instance, one of their links [uses this url](https://community.workhuman.com/education/courses/bada004e-b721-4eed-86b2-9fc58edd3276/activities/eae94898-b7e5-4ce9-a4c9-568e8687d92a). If they add new activities, the users who click that link won't see them because they would need to click "Retake course" which doesn't exist.
- [X] Ask about increasing the Password security policy for Customer Hub (CC+CE). The request from the Workhuman Infosec team is:"The password policy should require a minimum length of at least twelve characters to increase complexity and resistance to brute-force attacks. When two-factor authentication (2FA) is enforced, a minimum length of eight characters may be acceptable. Specific character class requirements, such as mandating uppercase letters, numbers, or symbols, should be avoided in favour of allowing any printable Unicode characters to encourage the use of passphrases.
## Sandata
Easiest Solution: Dummy/New/Shell course with 0 enrollments so migrator will work flawlessly with the migration endpoint. This will result in Gainsight being much more confident about the 3k people having correct certificate and certificate dates.
If we cannot do the above, the edge cases to consider are:
- Any progress with active attempt - migrator will not run
- Completion after 9/8/2025 - regen cert but transcript may be different & increase complexity on how we run the script
- Question - what do to do with people between 9/3-9/8
- In course enrollments tab for admin, enrollment date will be after completion date
- Does everyone who needs access to this new course, have access?
- Cert course name will remain even if course is renamed
- If someone completed it after 9/8 what is their "correct" certificate completion date?