- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
ID: typescript-express/https-protocol-missing
Language: TypeScript
Severity: Warning
Category: Security
If your app deals with or transmits sensitive data, use Transport Layer Security (TLS) to secure the connection and the data. This technology encrypts data before it is sent from the client to the server, thus preventing some common (and easy) hacks.
This rule will detect the usage of non https.createServer()
usage.
import https from 'https';
import express, { Express } from 'express';
const app: Express = express();
var httpServer = http.createServer(app)
httpServer.listen(8080);
import https from 'https';
import express, { Express } from 'express';
const app: Express = express();
var httpsServer = https.createServer(app)
httpsServer.listen(8080);
|
|
For more information, please read the Code Analysis documentation
Identify code vulnerabilities directly in yourVS Code editor
Identify code vulnerabilities directly inJetBrains products