Skip to content

Added Best practices which will help to reduce the issues during instance scans. #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Coding Best practices/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Add commensts to your code
use descriptive function and variabe names
construct resusable functions
Avoid complex glide record quiries
use GlideAggregate for aggregatre oprations.
dont use hard code values
avoid dot walking to the sys_id of reference fields
prevent recursive buisness rules
Avoid dom manipulation
aviod using gs.log in scoped apps
dont chnage the security manager default behaviour
avoid infinte loops for event generation.
1 change: 1 addition & 0 deletions Coding Best practices/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
These best practises help to reduce the code pitfalls and number of issues during instance scans.
5 changes: 5 additions & 0 deletions Create Keep Database footprint small/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Maintain Audit delete and audit relations tables using table cleaner
Optimise or maintain the attachment and attachment documents tables
Activating/Adding table cleaners
Reduce over additing
lower the duration of table rotation.
1 change: 1 addition & 0 deletions Create Keep Database footprint small/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The given best practises help the to maintain the database foorprint small and improve the instance scan
6 changes: 6 additions & 0 deletions Integration best practices/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Create a unique account for each integration.
Don't add itil role to integration account.
Index the coalesce field after veryfing all coalesce field are correct.
Use Dat stream for large data sets.
Use event driven integrations instead of scheduled integrations. eg: instead of daily job to trigget the API to get foundational data from third party, use event driven ( share the master data import set table API to third party to send the data whenever there is any update.)
Use most reliable authentication methods (oAuth or Certifcater based)
1 change: 1 addition & 0 deletions Integration best practices/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This integration best practises help to maintain proper connnections and performanance and improve the instance scan.
Loading