When I create a technique, I have 2 commits:
commit 8d746aeeb148c4d53a528728daf812c18b6b1bff
Author: admin <email not set>
Date: Wed Nov 18 20:37:28 2020 +0000
Archive of technique library template for technique name 'blabliblu'
Reason provided by user:
Update Technique library after creating files for ncf Technique blabliblu
commit d75312d77d90dc4285736d5129d6e5a1ec09e9d5
Author: admin <email not set>
Date: Wed Nov 18 20:37:28 2020 +0000
Committing technique blabliblu
first commit is normal
commit d75312d77d90dc4285736d5129d6e5a1ec09e9d5
Author: admin <email not set>
Date: Wed Nov 18 20:37:28 2020 +0000
Committing technique blabliblu
diff --git a/techniques/ncf_techniques/blabliblu/1.0/metadata.xml b/techniques/ncf_techniques/blabliblu/1.0/metadata.xml
new file mode 100644
index 0000000..6430092
--- /dev/null
+++ b/techniques/ncf_techniques/blabliblu/1.0/metadata.xml
@@ -0,0 +1,31 @@
+<TECHNIQUE name="blabliblu">
+ <DESCRIPTION></DESCRIPTION>
+ <USEMETHODREPORTING>true</USEMETHODREPORTING>
+ <AGENT type="cfengine-community,cfengine-nova">
+ <BUNDLES>
+ <NAME>blabliblu</NAME>
+ </BUNDLES>
+ <FILES>
+ <FILE name="RUDDER_CONFIGURATION_REPOSITORY/techniques/ncf_techniques/blabliblu/1.0/technique.cf">
+ <INCLUDED>true</INCLUDED>
+ </FILE>
+ </FILES>
+ </AGENT>
+ <AGENT type="dsc">
+ <BUNDLES>
+ <NAME>Blabliblu</NAME>
+ </BUNDLES>
+ <FILES>
+ <FILE name="RUDDER_CONFIGURATION_REPOSITORY/techniques/ncf_techniques/blabliblu/1.0/technique.ps1">
+ <INCLUDED>true</INCLUDED>
+ </FILE>
+ </FILES>
+ </AGENT>
+ <SECTIONS>
+ <SECTION component="true" multivalued="true" name="Command execution">
+ <REPORTKEYS>
+ <VALUE>/bin/test</VALUE>
+ </REPORTKEYS>
+ </SECTION>
+ </SECTIONS>
+</TECHNIQUE>
\ No newline at end of file
diff --git a/techniques/ncf_techniques/blabliblu/1.0/technique.cf b/techniques/ncf_techniques/blabliblu/1.0/technique.cf
(snip)
\ No newline at end of file
diff --git a/techniques/ncf_techniques/blabliblu/1.0/technique.json b/techniques/ncf_techniques/blabliblu/1.0/technique.json
new file mode 100644
index 0000000..4d88103
--- /dev/null
+++ b/techniques/ncf_techniques/blabliblu/1.0/technique.json
@@ -0,0 +1,22 @@
+{
+ "bundle_name":"blabliblu",
+ "version":"1.0",
+ "category":"ncf_techniques",
+ "description":"",
+ "name":"blabliblu",
+ "method_calls":[
(snip)
\ No newline at end of file
diff --git a/techniques/ncf_techniques/blabliblu/1.0/technique.ps1 b/techniques/ncf_techniques/blabliblu/1.0/technique.ps1
new file mode 100644
index 0000000..a0d1f78
--- /dev/null
+++ b/techniques/ncf_techniques/blabliblu/1.0/technique.ps1
@@ -0,0 +1,16 @@
+<U+FEFF>function Blabliblu {
+ [CmdletBinding()]
+ param (
+ [parameter(Mandatory=$true)]
+ [string]$reportId,
+ [parameter(Mandatory=$true)]
+ [string]$techniqueName,
+ [switch]$auditOnly
>\ No newline at end of file
second commit is dubious
[root@server ncf_techniques]# git show 8d746aeeb148c4d53a528728daf812c18b6b1bff
commit 8d746aeeb148c4d53a528728daf812c18b6b1bff
Author: admin <email not set>
Date: Wed Nov 18 20:37:28 2020 +0000
Archive of technique library template for technique name 'blabliblu'
Reason provided by user:
Update Technique library after creating files for ncf Technique blabliblu
diff --git a/directives/ncf_techniques/blabliblu/category.xml b/directives/ncf_techniques/blabliblu/category.xml
new file mode 100644
index 0000000..19a25ce
--- /dev/null
+++ b/directives/ncf_techniques/blabliblu/category.xml
@@ -0,0 +1,9 @@
+<activeTechnique fileFormat="6">
+ <id>28b05f7c-8d9e-4c76-bc8b-310b0525bbeb</id>
+ <techniqueName>blabliblu</techniqueName>
+ <isEnabled>true</isEnabled>
+ <isSystem>false</isSystem>
+ <versions>
+ <version name="1.0">2020-11-18T20:37:28.630Z</version>
+ </versions>
+</activeTechnique>
\ No newline at end of file