cheiron-set-simulation-template-procedures
Cheiron에서 시뮬레이션 템플릿의 프로시저 환경변수를 변경합니다.
cheiron-set-simulation-template-procedures [profile=값] template-idx=값 procedures-json=값
- profile=값
- 선택. Cheiron 접속 프로파일 식별자
- template-idx=값
- 필수. 대상 템플릿 IDX (경로 파라미터)
- procedures-json=값
- 필수. 바꿀 템플릿 프로시저 환경변수의 JSON 배열입니다(요청 본문 전체, UpdateTemplateProcedure). 항목 필드: proc_id, environment(변수 이름에서 {type(text, result, object), value, desc, require, exclude, proc_id, use_regex, expression}로의 맵). 예:
[{"proc_id": "00000000-0000-0000-0000-0000000000a2", "environment": {"C2_URL": {"type": "text", "value": "http://c2.example.com", "desc": "", "require": true, "exclude": [], "proc_id": "", "use_regex": false, "expression": ""}}}]
출력 필드
| 필드 | 타입 | 이름 | 설명 |
|---|---|---|---|
| profile | 문자열 | 접속 프로파일 | Cheiron 접속 프로파일 식별자 |
| template_idx | 32비트 정수 | 템플릿 IDX | 예: 1182 |
| result_code | 32비트 정수 | 결과 코드 | 예: 200 |
| result_msg | 문자열 | 결과 메시지 | 예: OK |