Skip to content

Commit

Permalink
feat: support api-security checklist
Browse files Browse the repository at this point in the history
Signed-off-by: hylerrix <[email protected]>
  • Loading branch information
hylerrix committed Apr 29, 2020
1 parent b7bceeb commit ef7503a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/presentation/checklists/checklists.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ <h2>业务</h2>
<ledge-render [content]="codeReviewContent"></ledge-render>
</div>
</mat-tab>
<mat-tab label="API 安全性检查清单">
<div class="checklist-block">
<p><a href="https:/hylerrix">@hylerrix</a>提供, 基于: <a href="https:/shieldfy/API-Security-Checklist/"> API-Security-Checklist 中英文版 </a></p>
<ledge-render [content]="apiSecurityContent"></ledge-render>
</div>
</mat-tab>
<mat-tab label="前端项目检查清单">
<div class="checklist-block">
<p><a href="https:/hylerrix">@hylerrix</a>提供, 基于: <a href="https:/thedaviddias/Front-End-Checklist"> Front-End Checklist </a></p>
Expand Down
3 changes: 3 additions & 0 deletions src/app/presentation/checklists/checklists.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import * as xpDevOps from 'raw-loader!../../../assets/docs/checklists/xp.md';
import * as codeReview from 'raw-loader!../../../assets/docs/checklists/codereview.md';
import * as fe from 'raw-loader!../../../assets/docs/checklists/front-end.md';
import * as devSecOps from 'raw-loader!../../../assets/docs/checklists/devsecops.md';
import * as apiSecurity from 'raw-loader!../../../assets/docs/checklists/api-security.md';
import { ActivatedRoute, Router } from '@angular/router';
import { Title } from '@angular/platform-browser';

Expand All @@ -35,6 +36,7 @@ export class ChecklistsComponent implements OnInit {
codeReviewContent = codeReview.default;
feContent = fe.default;
devSecOpsContent = devSecOps.default;
apiSecurityContent = apiSecurity.default;

selectedTabIndex = 0;

Expand All @@ -46,6 +48,7 @@ export class ChecklistsComponent implements OnInit {
{ name: 'DevSecOps 检查清单', route: 'devsecops' },
{ name: '极限编程检查清单', route: 'xp-practise' },
{ name: '代码回顾检查清单', route: 'code-review' },
{ name: 'API 安全性检查清单', route: 'api-security' },
{ name: '前端项目检查清单', route: 'frontend' },
];

Expand Down

0 comments on commit ef7503a

Please sign in to comment.