User Tools

Site Tools


инструмент_semgrep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
инструмент_semgrep [2026/03/19 09:12]
val
инструмент_semgrep [2026/04/10 11:31] (current)
val
Line 3: Line 3:
   * [[https://​semgrep.dev/​]]   * [[https://​semgrep.dev/​]]
  
 +  * Приложение на Python [[Язык программирования Python#​Flask Gunicorn]]
 +  * Dockerfile [[Технология Docker#​Приложение python pywebd]]
 +
 +  * В случае недоступности semgrep.dev добавить:​ -e https_proxy=http://​proxy.isp.un:​3128/​
 <​code>​ <​code>​
 ~/pywebd# docker run --rm -v ${PWD}:/src semgrep/​semgrep semgrep --config=auto --error . && echo OK || echo Problems ~/pywebd# docker run --rm -v ${PWD}:/src semgrep/​semgrep semgrep --config=auto --error . && echo OK || echo Problems
 +
 +~/pywebd# cat app.py
 +</​code><​code>​
 +...
 +# nosemgrep
 +  app.run(host="​0.0.0.0",​ port=pywebd_port,​ debug=True)
 +#  app.run(host="​127.0.0.1",​ port=pywebd_port,​ debug=False)
 </​code>​ </​code>​
 +
инструмент_semgrep.1773900730.txt.gz · Last modified: 2026/03/19 09:12 by val