From 3f49b869fb96abd42f3dad942fa7227305578f48 Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:06:44 +0530 Subject: [PATCH 1/6] Create Keep Database footprint small --- Create Keep Database footprint small/readme.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Create Keep Database footprint small/readme.md diff --git a/Create Keep Database footprint small/readme.md b/Create Keep Database footprint small/readme.md new file mode 100644 index 0000000..e7628a1 --- /dev/null +++ b/Create Keep Database footprint small/readme.md @@ -0,0 +1 @@ +The given best practises help the to maintain the database foorprint small and improve the instance scan From 548ad887e6ee70fb65feb1da2e57c55ff757aed9 Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:08:28 +0530 Subject: [PATCH 2/6] Create Keep Database footprint small --- Create Keep Database footprint small/CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Create Keep Database footprint small/CONTRIBUTING.md diff --git a/Create Keep Database footprint small/CONTRIBUTING.md b/Create Keep Database footprint small/CONTRIBUTING.md new file mode 100644 index 0000000..08b6fef --- /dev/null +++ b/Create Keep Database footprint small/CONTRIBUTING.md @@ -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. From 99cd7f0cd6e3202d046e4f96c8c7f3174ac3949b Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:09:57 +0530 Subject: [PATCH 3/6] Integration best practices --- Integration best practices/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Integration best practices/README.md diff --git a/Integration best practices/README.md b/Integration best practices/README.md new file mode 100644 index 0000000..e5320aa --- /dev/null +++ b/Integration best practices/README.md @@ -0,0 +1 @@ +This integration best practises help to maintain proper connnections and performanance and improve the instance scan. From 620c948bc1ad729443735e8be8332020b5a4f087 Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:10:26 +0530 Subject: [PATCH 4/6] Integration best practices --- Integration best practices/CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Integration best practices/CONTRIBUTING.md diff --git a/Integration best practices/CONTRIBUTING.md b/Integration best practices/CONTRIBUTING.md new file mode 100644 index 0000000..222b853 --- /dev/null +++ b/Integration best practices/CONTRIBUTING.md @@ -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) From c0aca884b0690d61d815e7b2a39b134f61fe018b Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:12:12 +0530 Subject: [PATCH 5/6] Coding Best practices --- Coding Best practices/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Coding Best practices/README.md diff --git a/Coding Best practices/README.md b/Coding Best practices/README.md new file mode 100644 index 0000000..d483f99 --- /dev/null +++ b/Coding Best practices/README.md @@ -0,0 +1 @@ +These best practises help to reduce the code pitfalls and number of issues during instance scans. From 8258d25d69ceeeb1c66ff152d070d3d5f9b55911 Mon Sep 17 00:00:00 2001 From: nag39g <32329264+nag39g@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:14:17 +0530 Subject: [PATCH 6/6] Coding Best practices --- Coding Best practices/CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Coding Best practices/CONTRIBUTING.md diff --git a/Coding Best practices/CONTRIBUTING.md b/Coding Best practices/CONTRIBUTING.md new file mode 100644 index 0000000..7fcecc1 --- /dev/null +++ b/Coding Best practices/CONTRIBUTING.md @@ -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.