File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ if [ -z "$1" ]; then
99 exit 1;
1010fi
1111
12- ./run_seclab_agent.sh -t seclab_taskflows.taskflows.audit.fetch_source_code -g repo=$1
13- ./run_seclab_agent.sh -t seclab_taskflows.taskflows.audit.identify_applications -g repo=$1
14- ./run_seclab_agent.sh -t seclab_taskflows.taskflows.audit.gather_web_entry_point_info -g repo=$1
15- ./run_seclab_agent.sh -t seclab_taskflows.taskflows.audit.classify_application_local -g repo=$1
16- ./run_seclab_agent.sh -t seclab_taskflows.taskflows.audit.audit_issue_local_iter -g repo=$1
12+ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.fetch_source_code -g repo=$1
13+ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.identify_applications -g repo=$1
14+ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.gather_web_entry_point_info -g repo=$1
15+ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.classify_application_local -g repo=$1
16+ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.audit_issue_local_iter -g repo=$1
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ if [ ! -f ".env" ]; then
66fi
77
88mkdir -p logs
9- mkdir -p data
109
1110docker run -i \
1211 --mount type=bind,src=" $PWD " ,dst=/app \
13- -e GH_TOKEN=" $GH_TOKEN " -e AI_API_TOKEN=" $AI_API_TOKEN " " ghcr.io/githubsecuritylab/seclab-taskflow-agent" " $@ "
12+ --mount type=bind,src=" ./logs" ,dst=/root/.local \
13+ -e GH_TOKEN=" $GH_TOKEN " -e AI_API_TOKEN=" $AI_API_TOKEN " --entrypoint /bin/bash \
14+ " ghcr.io/githubsecuritylab/seclab-taskflow-agent" \
15+ -c " pip install -q -e /app ; $* "
You can’t perform that action at this time.
0 commit comments