neetob 0.5.23 → 0.5.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/neetob/cli/cloudflare/base.rb +3 -10
- data/lib/neetob/cli/github/brakeman.rb +1 -1
- data/lib/neetob/cli/github/bundle_audit.rb +1 -1
- data/lib/neetob/cli/github/make_pr/base.rb +6 -1
- data/lib/neetob/cli/github/yarn_audit.rb +1 -1
- data/lib/neetob/cli/monthly_audit/misc/ssl_certs_setup_for_auto_renewal.rb +4 -2
- data/lib/neetob/cli/monthly_audit/perform.rb +1 -0
- data/lib/neetob/cli/sre/check_essential_env.rb +0 -1
- data/lib/neetob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 463e3069608150d1b71ed3e14bb1997bbbfe08eb93791197c8e2a4b8f89bcff6
|
4
|
+
data.tar.gz: 71474eaad031964346b1ab2079a2e953d3506d610c2022b8e8e3805ccf78e355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de8ffbe2984bafb15e22912adf3e51b79da0107c1dab6393edf3814d6b88ffd1e8d73caa66c8badda2e73330721acc1741cc48a33b63d97251d23e92a83b689f
|
7
|
+
data.tar.gz: ca27c65ae1b8d805a757d1cdf36fdf7ee7aab86134c818a20955d11903c3d3a5b6638286a93efa33da349c1c9fb97b834ae0f089645de75d252b71cf2819e07e
|
data/Gemfile.lock
CHANGED
@@ -13,14 +13,10 @@ module Neetob
|
|
13
13
|
"neetoauth.net": "4260febb059f04068fa0105765d9ef39",
|
14
14
|
"neetocal.com": "40a8ce54e49b2abf6c113b06efc33caf",
|
15
15
|
"neetocal.net": "899c96f5c95884c96c8f40574749e6b0",
|
16
|
-
"neetocentral.com": "94d1a30430c247be253dd131bbf75994",
|
17
|
-
"neetocentral.net": "fce73845e62b663124cf51190bdfc2b8",
|
18
16
|
"neetoengage.com": "deeccc1424c6732db8d372522a7254ea",
|
19
17
|
"neetoengage.net": "c0330ba264a485e76e9b88bde90f7583",
|
20
18
|
"neetochat.com": "17295de45a5455d02725f337e60e5664",
|
21
19
|
"neetochat.net": "1bcdc8e62717e703cf2f6954e6525e20",
|
22
|
-
"neetochatify.com": "021482cc245d96cd8806ef19c20d6b10",
|
23
|
-
"neetochatify.net": "31e3445557656d5a6f732bbb7de9bb5a",
|
24
20
|
"neetoci.com": "3faaaced0e91e08eb2d613fbffdad490",
|
25
21
|
"neetoci.net": "dd205596095ed10d7776c3a057a53f46",
|
26
22
|
"neetocode.com": "0359dcaec1119b18dc33a217123dbdb1",
|
@@ -39,8 +35,6 @@ module Neetob
|
|
39
35
|
"neetoform.net": "6af6e63021fba23eed48100ad440479a",
|
40
36
|
"neetogit.com": "4925445a663a4de68eaf6e959243aaad",
|
41
37
|
"neetogit.net": "a4a850fb571785305ca517949a4efdb9",
|
42
|
-
"neetogrow.com": "784cda433030c1475b7a32295e98feb7",
|
43
|
-
"neetogrow.net": "67a171f16ae95e6435b1789f203a7853",
|
44
38
|
"neetoinvoice.com": "0394b5ce1d094459ca700fa051f01d60",
|
45
39
|
"neetoinvoice.net": "4c864591b2b986abcb6de133b6c3815d",
|
46
40
|
"neetokb.com": "25804f331677e305adb550cba3a672dc",
|
@@ -61,15 +55,14 @@ module Neetob
|
|
61
55
|
"neetorunner.net": "8b5b81e94e1238cb7d8bd4062c788233",
|
62
56
|
"neetosite.com": "10a07b451a511a57513a74d40ae3680d",
|
63
57
|
"neetosite.net": "23064d6c435af82b92a102b465d5faf6",
|
64
|
-
"neetosurvey.com": "a0dfcaec5d88a2e99500bdc4957eba27",
|
65
|
-
"neetosurvey.net": "96edf6d04a4666b6b1bef507a17c958b",
|
66
58
|
"neetotestify.com": "b2d592bc096b4c1b80c6941bd1a8597c",
|
67
59
|
"neetotestify.net": "1bbb5bf2ea04121c57a3690d2f40c5dc",
|
68
60
|
"neetotower.com": "9175d2e1bb19735b9b22c101ac162d31",
|
69
61
|
"neetotower.net": "10f9eba21876cd174952b830aba0ba71",
|
70
|
-
"neetotribe.com": "45eb5b7d96820cf7c375dcdaf608d4c7",
|
71
|
-
"neetotribe.net": "f49cb0229b1d67d228da7ab39a17dde3",
|
72
62
|
"neetowireframe.com": "d6d17a3dab91dc0ca4b9f4f65b086ccc",
|
63
|
+
"neetowireframe.net": "5866b3f9d20b45800d5657ec59ac630e",
|
64
|
+
"neetowebpage.com": "067c86bc40ea1788becbe2f9bf5cb5ca",
|
65
|
+
"neetowebpage.net": "65cdacca073ae5e822682c6938defcbe",
|
73
66
|
"neeto.com": "83eeffbce76df68b60e50d1fa254b3fa",
|
74
67
|
"bigbinary.com": "dc60ee7ecbff0ef5e58e1bb27ad40e89"
|
75
68
|
}
|
@@ -61,7 +61,12 @@ module Neetob
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def clone_repo_in_tmp_dir(repo)
|
64
|
-
|
64
|
+
local_repo_path = "/tmp/neetob/#{repo_name_without_org_suffix(repo)}"
|
65
|
+
if Thread.current[:audit_mode] && Dir.exist?(local_repo_path)
|
66
|
+
return
|
67
|
+
end
|
68
|
+
|
69
|
+
`git clone --quiet git@github.com:#{repo}.git #{local_repo_path}`
|
65
70
|
end
|
66
71
|
|
67
72
|
def add_commmit_and_push_changes!(repo, local_repo = false)
|
@@ -16,8 +16,10 @@ module Neetob
|
|
16
16
|
ui.info "- Check whether the certificate for the domain is listed on certmanager"
|
17
17
|
ui.info "- Finally, set Audit Passed as Yes only if certificate for the domain is listed, otherwise set it as No, and add a comment in the Comments column"
|
18
18
|
ui.info("\n")
|
19
|
-
Neetob::CLI::Cloudflare::Base::ZONE_IDS.keys
|
20
|
-
domain.to_s.include?(".com") }
|
19
|
+
Neetob::CLI::Cloudflare::Base::ZONE_IDS.keys
|
20
|
+
.select { |domain| domain.to_s.include?(".com") }
|
21
|
+
.reject { |domain| ["neeto.com", "bigbinary.com"].include?(domain.to_s) }
|
22
|
+
.map do |domain|
|
21
23
|
domains_data << [domain, nil, nil, nil]
|
22
24
|
end
|
23
25
|
ui.print_table(domains_data)
|
@@ -31,6 +31,7 @@ module Neetob
|
|
31
31
|
ui.info "\n"
|
32
32
|
Misc::Main.new.run
|
33
33
|
ui.info "\n"
|
34
|
+
`rm -rf /tmp/neetob`
|
34
35
|
ui.success("## Audit for #{month} completed successfully.")
|
35
36
|
ui.success("## Audit report is written to #{markdown_file_name}")
|
36
37
|
ui.success("## Please update the manual audit part and post the audit in Github.")
|
data/lib/neetob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neetob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Udai Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|