Add JSON files for security audit and test data

- Created a JSON file for the security audit report dated 2026-07-19, detailing various security findings and their relationships.
- Added a JSON file for seed test data, including user creation logic and dependencies in the `seed_testdata.php` file.
- Introduced a JSON file for the AdminCspSubscriberTest, outlining test cases and their structure in the `AdminCspSubscriberTest.php`.
This commit is contained in:
hamed
2026-07-23 15:12:37 +03:30
parent 9a776be13c
commit 0edaf6518f
17 changed files with 2085 additions and 1687 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "label": "seed_testdata.php", "file_type": "code", "source_file": "seed_testdata.php", "source_location": "L1"}, {"id": "clinicpro_seed_testdata_makeuser", "label": "makeUser()", "file_type": "code", "source_file": "seed_testdata.php", "source_location": "L29"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "seed_testdata.php", "source_location": "L29"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "clinic", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "doctorsecretary", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "kernel", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "dotenv", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L12", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "passwordhasherfactory", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L13", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "userpasswordhasher", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L14", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_seed_testdata_php", "target": "clinicpro_seed_testdata_makeuser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L29", "weight": 1.0}, {"source": "clinicpro_seed_testdata_makeuser", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "seed_testdata.php", "source_location": "L29", "weight": 1.0, "context": "return_type"}], "raw_calls": [{"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "setPasswordHash", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L32", "receiver": null}, {"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "hashPassword", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L32", "receiver": null}, {"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "setStatus", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L33", "receiver": null}, {"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L33", "receiver": null}, {"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "setRealName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L33", "receiver": null}, {"caller_nid": "clinicpro_seed_testdata_makeuser", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/seed_testdata.php", "source_location": "L34", "receiver": null}]}
File diff suppressed because one or more lines are too long